General C++ Programming (Page 50)

Student Database: help with ifstream and ofstream operators
 
Hello, i've been working on a student data base that reads in the students name, birth date, social ...
[3 replies] Last: this is how far ive gotten. #ifndef HW #define HW #include <iostrea... (by czhines)
Starter Programmer help please. I'm using RECURSION
 
The point of my code is to evaluate a mathematical expression that's already formed in a Binary Sear...
[1 reply] : Pass them by reference or their addresses. In this way, you can do som... (by ingenioushax)
unsigned char print
 
Hi, how do I print an unsigned char in c++? e.g. unsigned char a = "acdef"; wprintf(L"a is %u\...
[6 replies] Last: aha, that works! thanks! :) (by hansaaa)
by piotr5
found a use in union ctors and dtors
 
template<int N=1> union slices { int k ; slices<N-1> tranche; slices(){k[N-1]=N;} }; temp...
[16 replies] Last: > unfortunately my compiler doesn't allow specifying an initializer >... (by JLBorges)
by Haze
Searching a text file
 
im have real trouble with this one, im trying to make a function that will take in a users ID and se...
[3 replies] Last: is the std::string c++ or something different? (by Haze)
A counter program using classes. I'm really desperate.
 
I've been sitting her for nearly four hours trying to figure this out... Please help, I'm on the ver...
[no replies]
Linked List BubbleSort
 
Can anyone help..why isn't this bubble sort working? void LList :: bubbleSort (LList A, int n) { ...
[6 replies] Last: If i comment out the line after the if statement that reads temp = ... (by jjroyale)
Converting Integer to a String based on digits
 
This problem is really simple. I want to convert the integer into a string. int x = 693; ch...
[2 replies] Last: eh.. sorry mate, I'm still a beginner. I don't know what "std::"s are ... (by karl kho)
by madhuj
generate a binary string based on Hex data
 
generate a binary ascii characters(weird character ) based on Hex:54313032202020303030 data in C...
[3 replies] Last: instead of sending the data to server as "101010101010101010101010" ... (by madhuj)
by YATH
ارجو المساعده برنامج c++
 
لدي برنامج بلغه C++ اريد المساعده في حله وقد توصلت الى جز...
[1 reply] : You are either using C and getting rid of non-C headers, or writing in... (by MiiNiPaa)
by jizzah
read and store data
 
How can I store this data into an array? And I only can read the first integer.. 10.... How can I ...
[1 reply] : Ideas thougts assistance welcomed (by jizzah)
Access to UI elements from another class Qt-C++
 
Hello, I have a problem with accessing ui elements from another class(with instance). I have a seco...
[no replies]
i need help please for C++ programming
 
Hi everyone,i really need help for my assignment.Please help me, i need to hand in my assignment on ...
[no replies]
Homework help please
 
The textfile babynames.txt, which is included in the books website, contains a list of the 1000 mo...
[1 reply] : int main () (by SamuelAdams)
How to achieve higher precision?
 
Hello everyone. I am writing a program to calculate the Speed of an object according to Einstein's ...
[9 replies] Last: Nevermind, as TheIdeasMan said, 10 metres/second were too slow to make... (by PrydeRage)
Constructors cannot be called. Am I right?
 
Kindly give me any possible way to call constructor of a class.
[1 reply] : class Foo;//forward declaration Foo x = Foo();//Default constructor ... (by MiiNiPaa)
Novice in C++
 
Hi all, I am a novice in C++ and I have read the complet tutorial in your site (in addition to ot...
[9 replies] Last: This site's C++ Tutorial doesn't mention initialization lists, and sho... (by Catfish4)
by Amazon
Multiple objects passed as reference to function
 
Essentially, the 'Sequence' below uses linked lists to store data. If 'result' refers to the same se...
[4 replies] Last: I add: references cannot be redirected. They will point to the same me... (by MiiNiPaa)
Various optimization questions.
 
Hey guys, I'm looking to squeeze the last bits of performance out of my current project and resorti...
[4 replies] Last: I'm pretty sure this minor optimization did work, though. I keep track... (by Gaminic)
Pages: 1... 4849505152... 90
  Archived months: [mar2013]

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