General C++ Programming (Page 2)

Missing middle name and no error message
I've got 2 small issues here that I can't find a solution for. #include "stdafx.h" #i...
[1 reply] : when the program reads a bad file (like a blank text file) it doesn't... (by MiiNiPaa)
[HELP] User-defined header in my CPP program
Hi guys, I need a bit of your help again. I have found this template, named CG.h (which obviou...
[4 replies] Last: From what I am seeing, A, x, and b are now declared as a variable of c... (by jemeripol)
please help
So the process are arriving correctly, 1, 2, 3, 4....., the process are terminating 4, 3, 2, 1, 0 , ...
[1 reply] : urgent help please! so they arrive 1,2,3,4,5. How can I make them term... (by Stephanie)
Static and Singleton
When should i use Static member in a class and When should i use class Singleton?? Thanks.
[6 replies] Last: thank all (by nightmaregiba)
const Reference
Can you explain what is done when we call fuction void Foo(const int& x) //main.cpp void main...
[3 replies] Last: So, a wont change (by nightmaregiba)
by v01d55
Reading with function ReadFile
There's such code HANDLE File = CreateFile((LPWSTR)buf, GENERIC_READ | GENERIC_WRITE, FILE_S...
[no replies]
Suggestion to improve the do ... while loop structure (1,2)
We want to share this suggestion with you to improve the do ... while loop structure. Best regard...
[23 replies] Last: LB : You should not be thinking about what the result of compiling C... (by ncomputersorg)
by d902
Need help with creating increment table
So I need help creating this program: TableA TableB 1 10 2 20 3 ...
[1 reply] : In pseudo code: print the headings TableA Table B for (int i=1; i<... (by dhayden)
const in class meaning
Hi. Whats the use of using int funct() const; in class declaration? Because my class functions work ...
[2 replies] Last: const is used to control the ability of code to make accidental change... (by helios)
class ready_queue{ private: ready_queue *temp, *temp2; ready_queue *start_ptr; ready_queue *cur...
[1 reply] : Pass the value that you wish to enqueue as a parameter: void ready_qu... (by dhayden)
I need to return taxes paid and net pay by pass referencing a gross pay overloaded function. Are the...
[1 reply] : Store the gross pay in a local variable and then pass that to calculat... (by dhayden)
how to access variable in different class
someone please help! how can I make the queue of type pcb and how to access pid in other clases?
[6 replies] Last: solve the scope issue, include class for pid, call by (by csstudent123)
Please help me with my programming project.
Okay when I compile and run this program with a negative integer in the list of integers, it works f...
[3 replies] Last: It compiles and runs for me. Exactly what input do you give and what ... (by dhayden)
Connetig 2 computers over internet
I'm trying to make my 1v1 game playable online and I would like to have the 2 players connected dire...
[4 replies] Last: Project -> Build Options Goto tab "Linker Settings" Add the library un... (by CLman94)
Stuck but really really close.
Hi everyone. I tried posting this yesterday but I copied and pasted the wrong thing. First off I am ...
[4 replies] Last: Thanks Guys :) (by fl4pjacks)
LNK2019 Help!!
I am doing a lab for class. We are making a battleship program but the first part of the lab is just...
[1 reply] : 'initialize' is spelled incorrectly on the function definition. 'print... (by booradley60)
my c++ CHECKERS game is not working
hey guys so i made a checkers game. looking good so far. but i cant get the object to move. can you ...
[no replies]
Dynamic Array
Im using microsoft Visual C++ and its giving me a HEAP errow how do I fix it? #include <iostream> ...
[3 replies] Last: In lines 17-28 you're attempting to allocate a new larger array. That... (by AbstractionAnon)
Pattern issue with boost::regex
Hi All, I have a question regarding boost::regex pattern recognitions and groups I created the...
[no replies]
Unhandled exception error
I am having trouble running my code. It all compiles, but when i run it u get this error "Unhandled...
[1 reply] : ... (by ne555)
Pages: 1234... 57
  Archived months: [aug2014]

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