General C++ Programming - November 2011 (Page 14)

by zepher
read lines from text file
 
Hi All, I have learnt how to read lines out of a text file by doing the following: #define ...
[5 replies] Last: Thanks Cubbi, this works very well. I didn't realize that these ve... (by zepher)
Trouble with openGL
 
Hey guys I was doing some work and got stuck on a certain question, can anyone help me? I'm trying t...
[11 replies] Last: ok can you answer this question please? i figured the rest out: Also,... (by Tiffanyxx)
Need help adding pointer to member class
 
I need help to add an m_pTail pointer data member to the Lobby class that always points to the last ...
[3 replies] Last: Thank you very much for your assistance. I was able to add the m_pTail... (by Sagar7777)
by Wigen
GUI application framework
 
Hi all, What application framework (based on C++) you would recommend in developing GUI applicati...
[2 replies] Last: +1 Qt (by codekiddy)
by drew99
write to files a linked list of structures
 
My problem is as follows: write to files a linked list of structures to save a database and then lat...
[7 replies] Last: I solved. Here is the complete code: struct comp { int cod... (by drew99)
expected unqualified-id before ' { ' token
 
this error keeps appearing : expected unqualified-id before ' { ' token #include<iostream.h> { ...
[4 replies] Last: thank you ahoysailor and chriscpp. I combined the program one of you g... (by anadunid)
program crashes
 
so i made a program that will automatically go through log files and clean out any major repeating l...
[7 replies] Last: i'll probably just remake it, i agree it does look overly complicated,... (by Alex Davidson)
difference btw two type of declaration
 
Class Base { }; main() { Base b; // First type Base b(); // Second t...
[13 replies] Last: Thanks!! (by kunalnandi)
parent and sub class usage
 
I have a need for two very similar object classes. One will have an additional private member, and s...
[1 reply] : You can only achieve polymorphism if you use pointers or references, s... (by webJose)
Virtual Function
 
hi, vtable is an overhead in all base/derived classes when a base class has a virtual function..vtab...
[6 replies] Last: Thanks you cubbi .. this helps .. (by bluecoder)
c++ problem
 
hello, well am a little confused here and I need help to un-stuck my brain :P :::: //========...
[2 replies] Last: bool convertToint(const char *str1, int&Num) { int i=0; while(str1 ... (by bluecoder)
how to send and receive a image using c++ socket?
 
I want to send a image ,this image is a grab by my pc screen, My program's ui is using Qt,so this im...
[no replies]
How could I reduce the redundancy codes?
 
class robot_generic { public : template<typename Request, typename Response> bool const...
[1 reply] : struct query_food { template<typename Request, typename Response> ... (by stereoMatching)
permutation program
 
Hi readers, if someone could pass me in the right direction on how to accomplish this please don't r...
[6 replies] Last: thankyou i will ponder on this for now (by amberleef)
Pascal triangle with pattern
 
how am i able to use for loops in order to create diamond shape: * * * * * ...
[4 replies] Last: well...thanks for your help !! (by lanceTCT)
remove item from an array
 
I want to remove a file from array how do i do this
[6 replies] Last: Use an STL Vector instead? [quote=BLACKHULK]if you have an array but ... (by Mooncabbage)
How to program API...go from where ?
 
I gotta design an API to serve some tool that could help me best...I use API from a website...but si...
[1 reply] : I'm not sure I fully understand your request but look at: API Design... (by closed account 1vRz3TCk)
Display all data from text file
 
Hi guys. im kinda stuck with a problem here. Just had a code created (thanks to cplusplus +1) I...
[4 replies] Last: You need to show how you've called it. (by kbw)
Array/ Rows and column program confused
 
Hey guys I have to do this Write a program to input the following values into an array named pric...
[1 reply] : float prices ; for (int i=0; i<9; i++) cin >> prices ; ... (by SIK)
by iPlus
Why wont this compile? (1,2)
 
Template: #ifndef MATHLIBRARY_H_INCLUDED #define MATHLIBRARY_H_INCLUDED #include <iostream> ...
[23 replies] Last: Given that you're not trying to make a static library, that was a mist... (by Moschops)
November 2011 Pages: 1... 1213141516... 47
  Archived months: [oct2011] [dec2011]

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