General C++ Programming (Page 4)

by nyvrem
BitVector Expand function: 'BitVector out of range' error
 
My task requirement to implement an 'Expand' function of a bit vector in the BitVector class is as f...
[2 replies] Last: Hi xismn, Thank you for putting my code into codetags. My javascript... (by nyvrem)
Character
 
The program should ask the user about the continuation of executing a program and the answer should ...
[5 replies] Last: You have two completely separate variables with the same name, yesOrN... (by Chervil)
BEGINNERS
 
please help me how to make a money changer using DEV C++.. thank you in advance guyss!! i really ...
[1 reply] : First, I strongly recommend that you use an up-to-date compiler. Thi... (by mbozzi)
Need Help with Answer Counter and Unlock
 
So I'm trying to create a script that will unlock a physical box after a series of 3 simple math que...
[no replies]
Arrays and functions
 
I have a similar problem as GIZMO928 did in FEB 2015 The problem is: Write a program that lets t...
[no replies]
Help Duplicating Array
 
ok so here it is. Here is my code to read my file 'CSC1244N.txt' and sort the integer values and flo...
[2 replies] Last: struct info { int a ; float b ; }; int main() { const in... (by JLBorges)
by Frenzy
Algorithim help. Struct in Dbl. Linked List
 
Hello, first I am not asking for help with writing my code, but just thinking through the steps requ...
[1 reply] : Double post http://www.cplusplus.com/forum/beginner/209116/ (by SamuelAdams)
by elsa
how to instantiate control statement inside virtual function (1,2)
 
I'm trying to instantiate a control statement inside my virtual function program, but I'm hitting a ...
[31 replies] Last: Looks good. Another way would be to have a function in the base class ... (by kemort)
by Borneq
In memory compression
 
I search easy sources of fast (but not must be snappy) compression memory streams without process fi...
[1 reply] : zlib can compress in-memory buffers. Is that not fast enough for you? (by helios)
I need help with a function that cleans char
 
the function cleans the any extracharacters before the word but i dont know what to do for character...
[1 reply] : Maybe: while (inputstr.find_last_of(extrachar)!=string::npos) ... (by Chervil)
Stack
 
I have been asked to create a stack without the use of libraries. I have began the code but having d...
[1 reply] : Don't use a linked structure for a stack. It's much easier to use an ... (by mbozzi)
Comaparison of char array element at specific index
 
{int counter=0; char arrar ={221,254,254,0,0,0,254,222}; for(int l=0; l<10; l++) //This loops on...
[2 replies] Last: This is a problem with signed/unsigned. See: // numeric_limits examp... (by coder777)
Linked list
 
So recent, I started to learn linked list in class and I am confused. She did a whole explanation an...
[5 replies] Last: Is that how you close it? Yep, that's the way, and thanks because it... (by kemort)
Support needed with my assignment
 
Hi, I'm doing a Business Management course & for some reason I have to complete a C++ Module which I...
[5 replies] Last: ill add to that... no one wants to work with "that guy" who cheated hi... (by jonnin)
Help with add function
 
Hello everyone, my professor gave us a project to do and I'm stuck on one of my functions He gives ...
[4 replies] Last: Everytime I run it, it keeps in looping? Instead of trying to assign... (by jlb)
What's missing?
 
I was making a program that should replace a letter or two(or more) or a phrase when you enter a re...
[2 replies] Last: #include<iostream> #include<string> using namespace std; int main() ... (by lastchance)
by ecka1
file
 
I am trying to crete a file of telephone subscribers, where you enter name ,lastname and the phone ...
[no replies]
Stack and queues without libraries
 
I have been asked to develop a stack and a queue for their main flagship OS, Windowless 9. No libr...
[1 reply] : About stacks http://www.sourcetricks.com/2008/07/c-stacks.html About ... (by Thomas1965)
by arceus
I need help with an error.
 
I don't know what I did or haven't done but this error, "no match for 'operator==' in 'std::getline...
[9 replies] Last: > May I know what the substring.empty() is for? in "if( !substring.emp... (by JLBorges)
Pages: 123456... 28
  Archived months: [dec2016]

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