General C++ Programming (Page 5)

Need Urgent help in code optimization
 
Hello Forum, I am not very familiar with string class. Following is the sample code I have writte...
[1 reply] : why do you think this few lines need optimization? what is it suppose... (by coder777)
by naz
error
 
#include <iostream> #include <string.h> #include <conio.h> using namespace std; template <class...
[2 replies] Last: what error are you getting? (by abhishekm71)
Unresolved External Symbol
 
Hi there, I keep getting an error message Unresolved External Symbol. I have no idea where to go fro...
[4 replies] Last: I got the code to compile but it is not outtputing what I want. In my ... (by flyingEagle)
Problems with declarations
 
Hello everyone. I'm writing a program that uses a binary tree to hold student info such as GPA, name...
[2 replies] Last: on line 21 you trying to use the incomplete type StudentInfo why do ... (by coder777)
Problem with classes and linking
 
I keep getting the error "In function `_start': (.text+0x20): undefined reference to `main' collect...
[10 replies] Last: I solved it. I was linking it right but in inline functions I was supp... (by Gawaine)
Passing an array of char[][] by reference (C not CPP)
 
Hi, So I am working on a FUSE filesystem and I currently have the need to load the contents of a te...
[8 replies] Last: [quote=kbw]But why are you using fixed length arrays? Surely this sort... (by Catfish4)
fahren to cel
 
i donno what was wrong with my answer. I cant get great marks... only got 8/10 marks.. Pls cor...
[1 reply] : Two small errors: 1. Conversion to Celsius has the wrong sign fahrenh... (by ats15)
by tulips
Please help me with this program..!!
 
i am writing a program that reads in a sequence of binary digits 1 or 0 and stores in STL container....
[3 replies] Last: Ouch. What a mess :) You need to address the C++ errors, and logical e... (by ats15)
Trying to add template class to maintain list
 
Sorry for the lengthy post, I just figured it would be best if you see all the work I have done so f...
[3 replies] Last: i think restaurant. make into template change int to bool put in ... (by cooolio)
by aruna
problem with inheritance program
 
I am working on a inheritance program which create classes that represents musical instruments such ...
[6 replies] Last: You need to look up polymorphism. I changed you code a little, so you ... (by ats15)
Why is it valid to include Header Files twice in a Project?
 
*Title* So if I include iostream twice in my project why is that valid? Wouldn't the linker see tha...
[10 replies] Last: Ok thanks helios :D (by Anmol444)
inline keyword
 
what does inline keyword do in classes????? & How can we creat...
[5 replies] Last: If I remember correctly even if you use the inline keyword the compile... (by xerzi)
A few questions that I need help with
 
Hello everyone! Just made the account today, so please be gentle. I am looking for help with a serie...
[1 reply] : This forum is not designed to do somebody's homework. (by vlad from moscow)
Segmentation Fault when stepping in
 
Compiler: mingw OS: windows XP #include <iostream> class DataType1 { private:...
[no replies]
Two Questions! (1,2)
 
I am very confused right now. My first question is as to why Inline Functions must be included in...
[27 replies] Last: Thanks cire!!! I can finally continue with my book with confidence, I... (by Anmol444)
Communication between injected dll and outside program
 
Hello, i just finished with a simple dll game hack. At the moment it works only with hotkeys and...
[3 replies] Last: I currently use a simple .ini file for this. I know that it's not the ... (by ccman32)
by Phil M
SendInput - Cursor position wrong.
 
Hey, I recently wanted to create a (yet) simple program that simulates a mousemovement. So far I...
[no replies]
Help finishing program!
 
I have to finish a program with the following directions. The questions marks are where code needs t...
[1 reply] : To make an array simply type int VarName ; To display cout << "Johnny ... (by DarkSly)
C++ Transferring Variable between Buttons...
 
In My Code I want to Re-Use My buttons, Since I dont want to Deal with tons of them... But the Varia...
[no replies]
Untraceable error in c++ code involving classes
 
I've written a c++ program that contains the following classes: class Shape, Circle, Ellipse, Rectan...
[2 replies] Last: The compiler underlines the "b" and "d" giving the error (verbatim) : ... (by The Abster)
Pages: 1... 34567... 77
  Archived months: [mar2013]

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