General C++ Programming (Page 3)

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)
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)
Connecting 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!!
[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)
why is my Node out of scope?
I have a project on linked lists where a Sentence is a linked list of Words, a Paragraph a LL of Sen...
[no replies]
Swapping two adjacent linked lists nodes
I am working on a program where I sort elements into alphabetical order and then when one is less th...
[2 replies] Last: You start with one of the following situations: [some other node].ne... (by doug4)
C++ arrays help
Write a program that reads a file consisting of students’ test scores in the range 0–200. It sho...
[3 replies] Last: Maybe something like #include <vector> #include <iostream> #include ... (by Konstantin2)
IMHO atomic::load/store example is not correct
Look at code at #include <iostream> // s...
[2 replies] Last: Oops! You are right. I'm mistaked. (by Konstantin2)
c++ not yet implemented possible way to shrink array with delete operator
We made some questions about this topic to the kindly community of Aft...
[18 replies] Last: Thank you very much for your answers! dhayden : I want personally t... (by ncomputersorg)
C++ function parameter syntax
From all the programming language I've used or syntax I've learnt. I keep thinking that why is the p...
[4 replies] Last: Is there any big reason why this hasn't been implemented in other lan... (by doug4)
Open more than one console in one progam.
Hello everyone, I am creating a console based application which needs to be dual tasking, which pro...
[1 reply] : I am using Visual Studio 2012 Ultimate on a Windows 8.1 Professional ... (by Computergeek01)
File I/O questions Xcode
ok so i need help i have no clue how to create a .txt. file and add it to the file because it seems ...
[no replies]
NOT overwriting
void Contact::updatecontact() { Contact C; fstream file;"Contacts", ios::in | io...
[no replies]
Help implementing std::remove_if?
I'm trying to iterate through a vector and delete elements in it. I've seen that std::remove_if is p...
[8 replies] Last: instead of removing const add const to the GetLine() (or GetActiveL... (by coder777)
Pages: 12345... 57
  Archived months: [aug2014]

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