General C++ Programming - August 2011 (Page 26)

solving equations
 
how to solve scientific equations using c+++??is there any predefined function or syntax?? ex:1.54*...
[2 replies] Last: What you need is some version of Newtons method, I dont know if there ... (by holzdolph)
template functions in header (1,2)
 
So I understand that template functions need to be declared and defined in the same file. My ques...
[22 replies] Last: Fine by me. (by m4ster r0shi)
by h9uest
C++ language feature: virtual destructor
 
Hi all: class Base { public: Base(){ cout<<"Constructing Base";} // this i...
[12 replies] Last: I'm actually glad the the post triggered a heated discussion. @Xander... (by h9uest)
textcolor() and BLINK not working
 
I need to know about two functions which I used in Borland C but i cannot use it in Code::Blocks. 1...
[1 reply] : http://www.google.com/search?btnI=1&q=msdn+SetConsoleTextAttribute S... (by Duthomhas)
creating n number of objects using for loop
 
hi, i'm trying to design a program for book inventory. i've defined funtions such as getdata(), sea...
[2 replies] Last: well never used them before so can u show me how?? (by aniscool9)
Mutex tutorials.
 
Hi, can anyone point me in the direction of a simple, Mutex tutorial or example? I've found a few...
[2 replies] Last: Thanks for the link, I'm reading it now :D (by lnk2019)
HELP! Desending order
 
Hello! I have the following code; #pragma endregion // Instance variables Pen^ blackPen...
[7 replies] Last: this is one exm how can do this : ref class my : public System::Coll... (by ahura24)
Passing Memory by reference to different functions
 
Hey Guys I am new to programming but from what I have done so far I really like it. I had a ques...
[2 replies] Last: Don't worry as you do more C/C++ programming you will be able to figur... (by sohguanh)
How can I remove the repeat solution of 24 points game?
 
Hi all, I made a program that can obtain all the solutions of four numbers ranging from 1 to 13,...
[1 reply] : It's not hard to tell (write a function which can tell) that all of th... (by hamsterman)
Double Length
 
I have a double read from an input file. I'm not sure if it is bigger than 10 or less than 10, but I...
[6 replies] Last: i can't understand what are you mean ! but i think your solution is pr... (by ahura24)
new itoa function ?
 
itoa function is not defined in cygwin so i need to define one manually listed below"found in net" b...
[7 replies] Last: For the second solution, try ifstream myfile ( filename.c_str() ); . ... (by shacktar)
Unicode with std::exception
 
I would like to use Unicode with the std::exception class (deriving from it). The problem is that th...
[3 replies] Last: Either encode the string in UTF-8, or cast a wchar_t * to char * and m... (by helios)
odd or even integers
 
I need to write a program that prints out all the odd or even integers between any two integers (inc...
[11 replies] Last: or, for the lazy typer... for(; int1 <= int2; int1 += 2) ... (by andywestken)
by bkelly
opengl function CreateWindowEx exits
 
Environment: Windows 7, 64 bit, Visual Studio, Console application, C++ I am following the openglbo...
[3 replies] Last: The problem is resolved. My video adapter was an on the motherboard b... (by bkelly)
Reading from a binary file.
 
Hello all I'm trying to read information from a binary file (employees.bin), into a struct. Howev...
[15 replies] Last: :-) The advantage of mistakes is that they help to "burn" facts int... (by andywestken)
Problem inserting into vector and map of class with elements
 
(main) Quashtest.cpp http://codepad.org/dvPdYL9C Quash.cpp http://codepad.org/cnuEuAeg Quash.h...
[1 reply] : bump? (by MasterShihoChief)
by madjas
help please in stack
 
im trying to add more memory space to this stack code using this: temp = new(nothrow) StackElement[...
[4 replies] Last: tanks.... that's for learning purposes!!!! im just trying to swap to a... (by madjas)
not your typical interview question
 
I know this is directly c++ related, but I figured since it is OOP related, I would ask anyway. I...
[1 reply] : Here you can find UML based questions about desing patterns: http://ho... (by agile)
What is the equivalent while loop for the code below?
 
int count = 1; for ( ; ; count++) if (count < 3) cout << count; else break; 12 this is ...
[4 replies] Last: I'm aware of that. You already answered his question, my problem is wi... (by Athar)
counting letters
 
need help in understanding what this code does frequencyArray[tolower(ch - 'a')].frequency++; it...
[5 replies] Last: Thank you for the explination hamsterman i know get what it does. (by archie0H)
August 2011 Pages: 1... 242526272829
  Archived months: [jul2011] [sep2011]

This is an archived page. To post a new message, go to the current page.