General C++ Programming (Page 35)

C++ Rest Client
Just a simple REST client for use with C++. This was a quick weekend hack to use some C++ while maki...
[2 replies] Last: Thanks for the comments. I will definitely be doing some re-factoring ... (by nexus13)
by gtsiam
C++ operator types implicit conversion
I have a String class defined as: class String { public: String(); //[...] //These methods...
[6 replies] Last: thanks for the help. as for my operator+: String& operator+(const fl... (by gtsiam)
Nested loops
QUESTION 3: NESTED LOOPS Company ABC employs a number of salesmen to sell a variety of items. Thes...
[3 replies] Last: #include <iostream> using namespace std; int main() { int numSale... (by lmptitfy)
by Gyiove
problems g++ (64bit) compiler ( const char * to char * etc... )
Hi everyone! All my programming time i have spent programming on windows and using microsoft visual...
[3 replies] Last: C++11 and above has standardized threading facilities: http://www.cplu... (by LB)
Test Data
I got a program about GPA calculator. I need to come up with 5 sets of test data. How shall I do it....
[14 replies] Last: thank you dude. (by vikramathitan)
void function
#include <iostream> #include <cstdlib> using namespace std; void printDescription() floa...
[1 reply] : Please edit your post so all of your code is between [co de]code ... (by TarikNeaj)
Unexpected results when trying to copy an array
Hi, this is an exercise for a c++ class. I'm trying to create a shallow copy of an array. Accordin...
[2 replies] Last: Albatross, Thanks for the help. I think I see the problem in line # ... (by cmt9000)
by anhnha
set zero for inside of a curve (1,2)
I am doing some C++ code relating to image processing. Here is a picture of an image (let's assume ...
[20 replies] Last: Hi, It works now. I changed the code so that I can fill all point insi... (by anhnha)
Reading scores from a file
Hello :) I need someone to check my code for errors, thank you. Write a program that reads a stu...
[1 reply] : line 20: fin is not opened. line 21: A . is missing. line 24: ver... (by coder777)
by dxj
material of this site
Who have the material of the site?Please give me download addresses. Thank you
[no replies]
need help with my code
#include <iostream> #include <fstream> #include <cstring> #include <iomanip> #include <cstdlib> ...
[no replies]
Binary Search Tree Help
I can't get the output right. Instructions: Given array: string Months ={"JAN","FEB",......"DEC"}...
[1 reply] : DisplaySideways(p->right, space + 6); cout << string(space, ' ') << p... (by fg109)
Operator Overloading
I have a question about overloading operators my program works like this but I was told about overlo...
[9 replies] Last: This topic is continued at (by LB)
Save Chart to File
How would I syntactically create a function that asks a user for a file name, and then saves a chart...
[1 reply] : You are not writing the row number (by ats15)
what could i have done differently?
Hey fellow programmers, I have started doing some problems and I feel very giddy and happy when I am...
[8 replies] Last: You could do using std::cout; using std::endl; if you really don't w... (by giblit)
by Addsy
Snake Game
Hey guys, i'm wondering if anyone can help me with some code. Below i have some code for a controlla...
[4 replies] Last: The basic idea is this: Suppose your snake is moving left (Direction:... (by mgoetschius)
Determining Rows and Cols in an Array
My program is supposed to be a seat reservation system for a passenger airplane. I am having troub...
[5 replies] Last: Underline means I added or changed the code from your original code. ... (by LB)
void functions
QUESTION 4: VOID FUNCTIONS A function named printDescription (with no parameters) displays the fol...
[3 replies] Last: Please note, that this is not a homework site. We won't do your homew... (by TarikNeaj)
Difference between std::cerr and std::clog? redirecting std::clog
Hey there, So, I've worked a little bit with the std::ostream objects and I know how to redirect st...
[14 replies] Last: Okey thank you, still thanks, I learned some things about streams toda... (by Gamer2015)
Display a menu and then use an option in that menu to display a text file
//I'm having trouble figuring out how to open the file "chartIn.txt" in my menu under option one. I ...
[4 replies] Last: This thread is continued at (by LB)
Pages: 1... 3334353637... 45
  Archived months: [mar2015]

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