General C++ Programming (Page 4)

Good performance in linux horrible performance in windows!
hi, in linux the app is so smooth i move the window around without any concern ! the cubes load with...
[8 replies] Last: Something else to consider along with keskiverto 's train of thought ... (by Computergeek01)
Why does the result differ?
My code doesn't seem coincident whenever I run it. More specifically, when I enter like <qwer,qwe...
[7 replies] Last: //code777 Ah, I understood now. The problem is the memory. It was s... (by inmybrain)
How to make a loop
How to make a loop so program never end, it end only by typing "EXIT"
[1 reply] : 1) Make a loop based on a condition that can never be false. The sim... (by MikeyBoy)
This is my Script and I do not know what Is wrong with it please rewrite the script correctly #...
[9 replies] Last: Yeah that would work but comparing two arrays wouldn't like that http:... (by giblit)
by Iona
Modifying for loop to make it faster
Hello, I have this code which performs the analysis part of discrete wavelet transform. It works ...
[5 replies] Last: As I alluded to earlier temp_row doesn't seem to need to be a vector, ... (by jlb)
Odd Looking declarations: char a??(3??)
Any idea what this syntax is? Porting some CPP code from VS2005 - will not compile in VS2010 Thoug...
[4 replies] Last: Digraphs and trigraphs are planned to be removed (or disabled by defau... (by LB)
by Illuk
GetAsyncKeyState(i) == -32767 meaning ?
I want to know meant by GetAsyncKeyState(i)==-32767. This is a part of a simple key logger code. ...
[4 replies] Last: Thnx 4 Dish & AbstractionAnion. Actually I want to detect key pressed.... (by Illuk)
sourge engine
someone knows how i compile it?
[6 replies] Last: Again, by websearch of the error message: (by keskiverto)
i think i have some errors with inheritance and templates
#ifndef DECK_H #define DECK_H #include <random> #include <string> #include <vector> #include ...
[2 replies] Last: (by ne555)
Allegro 5 - 'main' mixup
Hello there, I have encountered a problem with allegro 5. It says in the build output that: unr...
[1 reply] : Solved it! Turns out it was as simple as: #define ALLEGRO_NO_MAGIC_M... (by Irrelevant Elephant)
Date and Time as a string
This is what I have: #include <ctime> #include <string> using namespace std; void date_and_ti...
[1 reply] : Why would they? Your formats specify a digit in the last position. ... (by AbstractionAnon)
Design Pattern Exercises in C++
I have to give credit to JLBorges for inspiring me into practising a lot of design patterns in my pr...
[7 replies] Last: To avoid having to repeat the definitions for the four accept override... (by prestokeys)
Code fix
hello, can someone fix this for me? I can't seem to find where the problem is. #define WIN32_LEAN_...
[13 replies] Last: maybe... (by jasonwynn10)
help with queue
I am terrible at this and can't seem to make it work any help is appreciated. main.cpp #include <...
[4 replies] Last: It would be incredibly easy if you just read the error messages that y... (by ne555)
by Aralox
Working JNI example with Java 1.8.X?
Hi, I've just spent many hours trying to get a basic JNI example working. I'm trying to call java co...
[no replies]
how to parse eml file
I am doing a project processing emails in EML format. I searched for a library doing eml file parsin...
[4 replies] Last: Thx for your reply. Recommending any specified parser will be more hel... (by breadbread1984)
by ToniAz
Faulty use of constructor of dynamic array
Hello everyone, According to someone, one can initialize a dynamically created array in the follo...
[2 replies] Last: Thanks for the explanation! (by ToniAz)
searching binary file
Hello I am completely baffled by bin file read/write and positioning. Here I wish to search a chemic...
[5 replies] Last: void searchSymbol( char sym, chemicalElement chemEl ){ ... if(strcmp... (by dhayden)
Sorting using pointers
My program reads the numbers from input file and writes the numbers sorted to output file. #inclu...
[5 replies] Last: Please... please prefer A over *(A+i) . Please. My heart dies ... (by Disch)
Why does this code output this number (it should be different)
float i,m,n; float newsum=0; for (i=1;i<=10;i++) for (m=1;m<=10;m++) for (...
[2 replies] Last: wow, great idea coder777. (by gameprogrammer)
Pages: 123456... 27
  Archived months: [jul2014]

Cannot post in this page. To post a new message, go to the first page.