General C++ Programming - October 2014 (Page 31)

Getting a screen capture of my whole program
 
For my class we have to take a screenshot of the program and put it in a word document. How can I accomplish this?
[2 replies] Last: if you are using windows 7 (I haven't tried this on windows 8) there ... (by jemeripol)
Need help on Rock Paper Scissors game
 
So I got an assignment to make a rock paper scissors game using c++. I know there is something in my code that isn't correct because the outcome is always the f...
[1 reply] : enclose the statements for each case in a bracket case 'S': case 's'... (by jemeripol)
I need help with a while loop program
 
We have an input file with an unknown number of records. The content of the records are studName (string), studId (integer) and three float exams (exam1, exam2,...
[2 replies] Last: Start programming sir. :) We will check if something's wrong. :) (by jemeripol)
help converting if/else to a switch statement plzz
 
if( vehicleUse == 'C' ) // Carpool { // TODO: Convert to a switch statement if( vehicleLoad == 'E' ) ...
[1 reply] : LOL.. There is a tutorial for this one. It is very easy to understan... (by jemeripol)
is it wrong to use try and catch for output ?
 
I only know that try and catch are best used in I/O operation. I don't really use them. so I got some idea try { if( some_condition ) throw Verdi...
[3 replies] Last: Thanks for the reply. I am sorry I am late to reply. I will perhaps us... (by rmxhaha)
C++ How do I pull out a value in a string and store in a variable?
 
Like if the user enters "38 F" how do I take out the 38 only and store it in a variable? so far my program goes like this: string text; double tempera...
[1 reply] : The closest that I could get was: #include <iostream> #include <fstre... (by jasonwynn10)
Fibonacci sequence using pthreads
 
Hello, I am new to pthreads and trying to complete this homework assignment: Write a multithreaded program that generates the Fibonacci sequence using either ...
[no replies]
Phone book function....malfunctioning...
 
I have created this program for my school project. The full program is not complete but still the function that is supposed to display the details stored in the...
[2 replies] Last: Thank you ...really helpfull.. (by sohom154)
how to initialize static member of class with template and type of a nested class
 
Hello everyone :D Can you help us? We have this question: How to initialize a static member of a class with template, which type is related to a nested...
[1 reply] : We found the answer as we started to file a bug on the GNU compiler we... (by ncomputersorg)
how make a class's for be satic too?
 
when we create a class, can i add it an option for be static too?
[18 replies] Last: i see thanks... thanks for all (by Cambalinho)
HELP !!! Store Random Numbers and Sort Function
 
#include <iostream> #include <iomanip> #include <cstdlib> #include <ctime> #include <algorithm> using namespace std; const int s = 12, p = 6; int x ;...
[4 replies] Last: Okay got it. Thanks ! (by MazharMustapha)
by anshe
food ordering system to debug
 
hello, i'm new here. can someone help me how can i fix my system... my total amount purchase doesn't total .and also my billing statement.. these are...
[6 replies] Last: void dessertThree() { int ABC; int quantity51=0, quan... (by anshe)
Standard way of changing the text and colour in c++ ?
 
Earlier 4-5 years back, When I started learning C++ I used textcolor() function to change the textcolour. But its not working in Code Blocks 13.12. Is there any...
[2 replies] Last: Lots of links: Windows http://www.cplusplus.com/forum/general/9974/#m... (by Duthomhas)
My cursor won't show
 
kay
[no replies]
by leo255
Change of base function (i.e. hex to octal, decimal, etc.) - Output slightly off
 
I need to create a generic function that changes from any starting base, to any final base. I have everything down, except my original function took (and takes)...
[2 replies] Last: Thanks for your help! It definitely works now. (by leo255)
Need help merging two arrays
 
I need help merging two arrays together and displaying them together in the end. However, I do not know how to start the merge function. If someone could help m...
[1 reply] : So if I understand correctly, you're going to append array2 to the end... (by TheKingOfTyrants)
Can't change background color MDI
 
Hello Cplusplus, I'm writing a program and I have 2 problems I hope you guys could help me with. 1. Like you can see in my code downbelow, I have the Win...
[no replies]
3D array
 
I created a 3d array that inputs a value into a coordinate but when I execute, it only shows the start of coordinate 7,0,2 to 9,9,9. When I had only a 2 dim...
[3 replies] Last: thanks, I increased the screen buffer size on the windows command prom... (by angela325)
Connecting 4 HELP
 
Alright, so I just started with c++; I'm using a book called "jumping into c++" and in chapter 14 they talk about pointers, pointers to pointers, etc. That's wh...
[1 reply] : Duplicate thread: http://www.cplusplus.com/forum/beginner/144262/ Pl... (by MikeyBoy)
C++ ATM program im in desperate moment now.
 
Hello guys!!i am so desperate now .i cant seem to get the past value for the balance when i prompt the user to make a new transaction.the deposit balance wont s...
[1 reply] : it's this: return userinput(); this is messed up because firstly ... (by mutexe)
October 2014 Pages: 1... 2930313233... 38
  Archived months: [sep2014] [nov2014]

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