Lounge<C++>

Today we're daydreaming about C++26 reflection
May 28, 2016 16:00
its an audio visualizer in c++ using OpenGL.
May 28, 2016 16:00
Hello please check this out and give feedback : github.com/indrajithi/Audio-Visualizer
May 28, 2016 07:04
hello
May 12, 2016 06:35
hello
Apr 25, 2016 21:16
test.c:(.text+0xa7): undefined reference to `Aquila::WaveFile::WaveFile(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, Aquila::StereoChannel)'
Apr 25, 2016 21:14
I am trying this example code.
Apr 25, 2016 21:14
http://aquila-dsp.org/articles/wave-file-information/
Apr 25, 2016 21:13
how do you link the headers.?
Apr 25, 2016 21:13
and many more.
Apr 25, 2016 21:13
undefined reference to `Aquila::SineGenerator::
Apr 25, 2016 21:12
But I get these errors when trying examples given in the website.
Apr 25, 2016 21:12
Here is my problem.. I have built the source to a directory in HOME.
Apr 25, 2016 21:11
cool..
Apr 25, 2016 21:11
in linux?
Apr 25, 2016 21:11
thank god..
Apr 25, 2016 21:10
anyone here used aquila-dsp?
Apr 25, 2016 21:10
hello
 

JavaScript

Topic: Anything JavaScript, ECMAScript including Node, React, ...
May 16, 2016 16:29
hi
Apr 18, 2016 19:55
A useful principle is not to add cleverness unless you are absolutely sure you’re going to need it. It can be tempting to write general “frameworks” for every little bit of functionality you come across. Resist that urge. You won’t get any real work done, and you’ll end up writing a lot of code that no one will ever use.
Apr 18, 2016 19:54
dude, this is my second day of JS programming.. :D
Apr 18, 2016 19:52
o.O
Apr 18, 2016 19:51
@Zirak Yea, may be once I complete the book.
Apr 18, 2016 19:50
*life
Apr 18, 2016 19:50
just tell me what's wrong. It gives the desired answer. and let me move on with my life dude..ii
Apr 18, 2016 19:49
:P
Apr 18, 2016 19:49
@Zirak You are enjoying this are't you
Apr 18, 2016 19:48
but this will
Apr 18, 2016 19:48
function min(num1, num2, num3, num4, num5)
{
  var stk= [num1,num2,num3, num4, num5];
  var small = stk.pop();
  for( var i = 0; i<= 4; i++)
  {
    var tmp = stk.pop()
    if(small > tmp)
      small = tmp;

  }
  return small;
}

console.log(min(-1, 3, 5 ,4 , 7));
// → -1
Apr 18, 2016 19:47
that wont work
Apr 18, 2016 19:46
function min(num1, num2, num3, num4, num5)
{
  var stk= [num1,num2,num3, num4, num5];
  var big = stk.pop();
  for( var i = 0; i<= 4; i++)
  {
    var tmp = stk.pop()
    if(small > tmp)
      small = tmp;

  }
  return small;
}

console.log(min(-1, 3, 5 ,4 , 7));
// → -1
Apr 18, 2016 19:46
yea.
Apr 18, 2016 19:46
still wrong..
Apr 18, 2016 19:45
function min(num1, num2, num3, num4, num5)
{
  var stk= [num1,num2,num3, num4, num5];
  var big = stk.pop();
  for( var i = 0; i< 5; i++)
  {
    var tmp = stk.pop()
    if(small > tmp)
      small = tmp;

  }
  return big;
}

console.log(min(-1, 3, 5 ,4 , 7));
// → -1
 

Computer Graphics Articles

Place to share and exchange interesting graphics articles/whit...
Apr 27, 2016 13:30
hello anyone here?
 

CHATLAB and Talktave

Congratulations to Luis Mendo for hitting 100k unicorn points ...
Apr 25, 2016 23:11
Should I delete that question or give it an answer?
Apr 25, 2016 23:11
@AndrasDeak Its working now.
Apr 25, 2016 23:03
@AndrasDeak I will keep that in mind.
Apr 25, 2016 23:02
are people allowed to post their question in the chat?
Apr 25, 2016 23:00
I was hoping some one in SO would have used it. Anyways its getting down voted, don't know why.
Apr 25, 2016 22:59
oki.. There are not much docs available for that aquila-dsp which makes it difficult.
Apr 25, 2016 22:57
:D
Apr 25, 2016 22:57
@AndrasDeak Sorry, I was hoping signal process would be familiar with you guys.
Apr 25, 2016 22:56
hi
 

 bin

It's a bin, for binning things.
Apr 25, 2016 22:13
-1
Q: Aquila-dsp. Undefined reference error

IndrajithI have build and installed Aquila-dsp in the directory aquila This is the code I am trying to execute: #include "aquila/source/WaveFile.h" #include <iostream> int main(int argc, char *argv[]) { if (argc < 2) { std::cout << "Usage: wave_info <FILENAME>" << std::endl; ret...

Apr 25, 2016 21:27
my bad. _/_
Apr 25, 2016 21:26
I thought you used it?
Apr 25, 2016 21:22
@набиячлэвэлиь any idea?
Apr 25, 2016 21:19
:30157634
Apr 25, 2016 21:19
 g++ -std=gnu++11 test.cpp
/tmp/ccmKuput.o: In function `main':
test.cpp:(.text+0xa7): undefined reference to `Aquila::WaveFile::WaveFile(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, Aquila::StereoChannel)'
test.cpp:(.text+0x120): undefined reference to `Aquila::WaveFile::getAudioLength() const'
test.cpp:(.text+0x23c): undefined reference to `Aquila::WaveFile::~WaveFile()'
test.cpp:(.text+0x2a6): undefined reference to `Aquila::WaveFile::~WaveFile()'
collect2: error: ld returned 1 exit status
 

Trash can

Like the recycle bin, but trashier.
Apr 25, 2016 22:07
0
Q: Aquila-dsp. Undefined reference error

IndrajithI have build and installed Aquila-dsp in the directory aquila This is the code I am trying to execute: #include "aquila/source/WaveFile.h" #include <iostream> int main(int argc, char *argv[]) { if (argc < 2) { std::cout << "Usage: wave_info <FILENAME>" << std::endl; ret...