General C++ Programming - May 2013 (Page 27)

Unresolved External Symbol
 
Hi there, I keep getting an error message Unresolved External Symbol. I have no idea where to go from here. Any suggestions would be great, thank you! The Node....
[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 and ID number, Problem is I've run into some issues with de...
[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' collect2: ld returned 1 exit status". Something is wrong and I am c...
[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 text file into an array. My array initialization looks like...
[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 correct me if iam wrong. /** * prints out the results of ...
[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. The input terminates on any input other than 0 and 1. After...
[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 far. I wrote this menu-driven program that maintains a list...
[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 as; piano, violin, trumpet which are classified as stringed,...
[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 that there are two definitions of it and report a error, but it...
[10 replies] Last: Ok thanks helios :D (by Anmol444)
inline keyword
 
what does inline keyword do in classes????? & How can we create a program that makes text file but name is chosen by user....
[5 replies] Last: If I remember correctly even if you use the inline keyword the compile... (by closed account o1vk4iN6)
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 series of eight questions that I have been having trouble with, i...
[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: int d1; int d2; public: DataType1...
[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 a header file and why cpp files cannot be included, and mus...
[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 a console window for showing information about which functi...
[3 replies] Last: I currently use a simple .ini file for this. I know that it's not the ... (by ccman32)
Help finishing program!
 
I have to finish a program with the following directions. The questions marks are where code needs to be entered and I can't get it. Read, understand, and 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 Variables that I use to Change the Events of the buttons Are not ...
[no replies]
Untraceable error in c++ code involving classes
 
I've written a c++ program that contains the following classes: class Shape, Circle, Ellipse, Rectangle, Triangle. All the classes are a subclass of class Shape...
[2 replies] Last: The compiler underlines the "b" and "d" giving the error (verbatim) : ... (by The Abster)
Profiling code, 4 threads slower then 1
 
I am doing something wrong since for me 4 threads perform 2 times slower then 1. I have 2 vectors with bunch of data to process, there is no concurrency (not m...
[7 replies] Last: Cool. Remember to close those handles when you're done. :) (by kbw)
C++ assignment (chess like)
 
So I got a task from our countries programming team to do this but I have no idea how I could go at it (I'm not looking for a solution in code but just how I co...
[1 reply] : Loks like pathfinding problem to me. I suggest looking into Dijkstra's... (by MiiNiPaa)
Is this a proper way to be naming files and making there file types?
 
Trying to learn how to deal with files and I wanted to make a way for the user to make his own file name and then I want it to be a .txt file, so I take the f...
[2 replies] Last: Thanks man! Really helps just learned something new. :) (by Michael Wilson)
May 2013 Pages: 1... 2526272829... 47
  Archived months: [apr2013] [jun2013]

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