Beginners - March 2014 (Page 31)

by ak16
Difference between Declaration and Defination of variable
 
Please anyone can help me Difference between Declaration and Definition of variable?
[5 replies] Last: thank you kbw. (by ak16)
Checking Arrays
 
I need help checking to see if the following array has any empty spaces or if it is full via function call int Board = " "; // Sets all 9 spaces to " " if it ...
[7 replies] Last: This works for me, I just copied your code and made a few tweaks in Ch... (by Scorpic)
by jazume
Removing duplicate elements in array
 
...
[4 replies] Last: Didn't really test it or anything but a few things that jumped out at ... (by Scorpic)
LibCurl
 
hi I am trying to link libcurl into my codeblocks ide. So far I downloaded the newest newest MinGW32 libcurl zip, I sent the download package to my codeblock...
[no replies]
Adding and Subtracting two periods of time
 
I have a homework assignment that I just can't seem to get right. I've had this problem for a while and tried to get some help from my professor and a tutor. My...
[2 replies] Last: Oh wow... I had it right on paper. Thanks so much. I wish I had an ext... (by greenlovinggirl)
by Rootz
Array's and strings
 
I am trying to get two classes to work. "PlayingCard" and "Hand" PlayingCard constructs the cards when the program is executed and I am just wanting "Hand" to ...
[3 replies] Last: Would I use the strings of cardVal and cardSuit within an array inorde... (by Rootz)
Error with gets() -S.O.S.
 
I can't find the error in my program, help me please. The first time the program do what it has to do, but when I thell to repeat it it doesen't do it corre...
[5 replies] Last: You are the bests really!!!! My teacher doesn't tell me about cin.igno... (by jonanderdiez)
Error Check & Total Sum Help!
 
I am new to C++ programming so please bare with me. I have two easy questions. 1) I am attempting to calculate the total sum for all values that appear under ...
[3 replies] Last: I didnt add my fout statements yet, even though the output file is cur... (by rjohn103)
Evaluation ostream
 
My book says that the ++I might be emulated before I is printed. I don't understand. Would it not go left to right? cout << I << " " << ++I << endl ...
[4 replies] Last: Thanks I gt it now :) (by closed account EwCjE3v7)
counting occurrences of alphabets
 
MY hw assignment is to write a program that counts the number of letter occurrences im required to use the 2 functions: charcount and countout my question i...
[4 replies] Last: remove both abc in the functions and and make count pass by reference?... (by geolearning13)
Advice on making a hollow square with information inside
 
Hey guys. I know you get questions like these all the time and I tried to look through past posts but I cannot seem to find an example of a hollow square with a...
[4 replies] Last: Thank you. I am going to try and implement this into the program later... (by bam2ville)
STRNCPY Weird Characters
 
Hey guys! So, I was working on learning how to use strncpy, and strcpy, which are pretty easy, and when I made some code, and my output had a weird character...
[4 replies] Last: Thanks a lot for your help guys! I appreciate it! (by geniusberry)
find the sum under the curve with a file
 
Hello I have to find the sum under a curve using trapezoids and all the points of the curve have been put in a file but I do not know how to actually write it ...
[no replies]
Roman Numerals
 
Write your question here. I need some help with converting a user input (an integer) into roman numerals. Some of the numbers work but some do not work. for ex...
[18 replies] Last: Thank you! (by Jamerack)
type of value time(&now) returns
 
im trying to store the now value from time() to use later in the program but I get constant: warning C4244: 'initializing' : conversion from 'time_t' to 'int'...
[2 replies] Last: thank you, i relized i needed two time_t variables on for now and one ... (by morngrym)
by chofs
error using vectors with strings
 
hey guys i know this question has been asked a lot but still geting errors...i want the user to input a string and in dat string output the number of "A,s" in t...
[1 reply] : You have a container of strings not characters so you must use double ... (by giblit)
Pausing execution of the program
 
Until now my methode of pausing the program was to write the following statements: cout << "Press any key followed by the Enter key: "; cin >> a; //...
[3 replies] Last: Thanks for the replies they wre informative!! (by philhar)
by enemy
name of *pointer in english
 
Hello! I REALLY appoligise for that question, but as I am not from english speaking area, wish to make clear once for ever, and to avoid all misunderstandings i...
[3 replies] Last: Many thanks!!! MiNiPaa, sorry for typos, and thanks for comment!!!:tup (by enemy)
Do-while loop repeating menu help
 
I need to write a program that repeats a menu unless the user decides to quit. I think my setup could have been wrong? int main () { string xstring; ...
[5 replies] Last: awesome! you guys are the best thank you so much :) (by gotsleep)
by doc17
Can anyone explain to me in layman terms
 
I read alot about fuctions and the section on the site however i still dont understand to well can anyone help me pass these ints to my functions and expalin pl...
[2 replies] Last: Thank you Smac89 (by doc17)
March 2014 Pages: 1... 2930313233... 79
  Archived months: [feb2014] [apr2014]

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