Beginners - November 2012 (Page 39)

Recursive function for sorting in array
 
Hi all, i have this mini program that generates randomly 15 to 25 sized array. This array then rand...
[1 reply] : Minor point: C++ already has an std::swap() function in the algorit... (by Catfish2)
MadLibs play again Option
 
So I am trying to make a madlibs program that will ask for a file and open it, read it, and ask the ...
[6 replies] Last: What did you mean by that? when I change it around, it will delete ... (by keikepono)
Why is there error?
 
i get error : 1>c:\digit_string.h(39): warning C4018: '<' : signed/unsigned mismatch 1>c:\digi...
[8 replies] Last: To fix the error: in WCS_String you need to declare: friend char* op... (by Stewbond)
No errors just weird results from rand
 
I can't seem to get the right results for the program. It's a random and you press d to deal again a...
[3 replies] Last: Lol. void Lots_of_code doom3 had ~609000 lines of code. (by pogrady)
Having trouble incorporating a function into my main function
 
Hi guys! Long time listener, first time caller here. I'm doing a hangman program, and I know exactly...
[5 replies] Last: cire - fortunately or unfortunately as it may be, I got no compiler wa... (by kevmeister77)
Guys need a fast help -- i have to submit my assignment at midnight
 
What should i change to make this both compile??.. one of the errors in my digit_string.h is not the...
[5 replies] Last: Thanks yes u can trust me but still errors are there ): (by boazgeorge)
Logic error, reading from file stream.
 
I'm having issues reading in from a filestream The code where the error is located. Customer::...
[1 reply] : I noticed that I initially posted the wrong class... fixed. (by chrisdayt)
undclared identifier
 
i keep getting the error for an undeclared identifier for customerprice, customerprice2, customerpri...
[2 replies] Last: i actually fixed the identifier problem somehow really dont know how b... (by bethisawesome)
by AnnT
Not understanding functions with two dimensional arrays
 
I'm new to C++, so far have been doing good with my assignments. Now I have a problem understanding ...
[1 reply] : Can you post your full code? Use the buttons on the right of the dialo... (by macleight)
please help
 
not sure why but im getting the error code c2059 for my last curly bracket and i cannot get my progr...
[no replies]
Pointer Usage
 
Okay, so I got a program that I'm suppose to analyze and I pretty much understand most of it, but I'...
[2 replies] Last: ooo okay thank you that was a lot of help! (by brainmush)
array in case structure
 
Can i have an array value in a case structure ? The program repeat storing 10 calculating value's to...
[3 replies] Last: any advice ? (by Madmax86)
need a help
 
how can i make a program that reads from an input file as following : the input file contains TWO l...
[1 reply] : You should read a whole line with std::getline and then extract each v... (by vlad from moscow)
by jsnc
logic problem
 
Hello, I'm in a basic logic class and every week my professor has us copy a C++ program line by lin...
[1 reply] : You should check whether the input file was opened. (by vlad from moscow)
Making one string out of another?
 
I am looking to remove punctuation and spaces from a string and I thought I could do this by checkin...
[1 reply] : You forgot specify parentheses. Write finalInput += ss.str () ; inst... (by vlad from moscow)
which is prefferable? cinn>> or getline for string
 
Here name, roll and cl are strings. when i use cin>> for all it dont take second input and when i us...
[6 replies] Last: The getline() function reads everything, including the '\n' (which is ... (by Duthomhas)
Programing in "C" ---help
 
hello,,, can someone help me ,,i am beginner in this,,, this is my home work: Write an algori...
[13 replies] Last: cout << " Diff " << (max-min) << endl; (by SamuelAdams)
Creating a Christmas Tree
 
Hello, I have an assignment to create a christmas tree in c++ and I have tried everything i can thin...
[8 replies] Last: For reference: int x = 3; int y = 3; int a = ++x; //pre-increment: x e... (by LB)
Help neeeeded fasttttrt... urgent
 
Please help me These are the errors that i get 1>c:\users\digit_string.h(37): error C2143: syntax ...
[6 replies] Last: Also how to fix the loop. (by boazgeorge)
by dioing
average
 
#include <iostream> using namespace std; int n; int m ; int i; int average; int main() ...
[9 replies] Last: one big thank you ! I'm realy bad in c++ ! (by dioing)
November 2012 Pages: 1... 3738394041... 75
  Archived months: [oct2012] [dec2012]

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