Beginners - October 2013 (Page 37)

dowhile looping
 
Write your question here. how can I insert the do while in my program?? .. i need to display "Do you want to continue y-yes n-no, if yes, it will loop but if n...
[1 reply] : See http://www.cplusplus.com/doc/tutorial/control/ (by keskiverto)
by sea711
String to float
 
I am new to C++. I am trying to write a function that receives a string input as an argument, prints the string as a message and gets and returns a float from t...
[10 replies] Last: Indeed, you're right. Though actually I'm running a dual-boot setup on... (by Chervil)
print array in own line
 
How do you print an array in its own line ? // Filter: print every word from the array on its own line. // Before each word print line # and a ...
[2 replies] Last: for ( int i=0 ; i< count ; i++ ) { // YOUR CODE HERE do not chan... (by tipaye)
by Ausha
usin swap, need to turn positive number into negative
 
Hi again! now i need to turn positive number into negative using swap. program should look something like this, i have to use prototype, just the issue is, to d...
[7 replies] Last: You've been a great help! Thank you a lot! (by Ausha)
by face88
int char and Pointer
 
Hey guys. I want to test whether a point on a map consists of a char.Basicall I can only get the integer.Here is a sample map. --------- ......... ...........
[5 replies] Last: You have a list of Pieces, a separate list of their (initial) position... (by keskiverto)
teamviewer help for 15mins please.
 
I could really use some help via teamviewer. I am trying to get into C++ and start doing projects etc. but my visual 2012 express just isn't setup correctly. ...
[15 replies] Last: There is a likelihood your VS2012 isn't setup correctly or not update ... (by arkad)
by Xyexs
What is the best free version of visual studio?
 
I am going back to c++ after programming in java for a year or two and i can't figure out what to get.... or if there's a better (free) IDE
[6 replies] Last: Thanks (by Xyexs)
Why STL library?
 
As a beginner we are forcefully feeded the STL library. Yeah, I know that we don't need to work hard for the work already done by others. But I feel like I am j...
[11 replies] Last: Thanks to all of you guys. I am satisfied now :) . (by MrMilan)
by aish96
PLEASE HELP!!
 
the output is not printed properly when the user inputs any of the values.. std::cout<<"\n 1. Managing Director \n 2. Director \n 3. General Manager \n 4. D...
[2 replies] Last: yes that helped! thank you :D (by aish96)
graphic
 
Is there graphic library I would to draw shaps I'm using code::blocks THx
[1 reply] : Download and install SFML. That will let you draw shapes. (by Stewbond)
converting between Celsius and fahrenheit.
 
I need help please. I tried so many times but cab't figure out how to do it!!! Write a program that prompts for and reads a floating point number and a l...
[2 replies] Last: Perhaps this task may help in practicing and tuning your solution. ht... (by rodiongork)
by dilver
c/c++ explanation about x=x/10 in counting the number of digit in an int (1,2)
 
there is something that I can not understand in the following code: int main() { int count = 0; int x=125; while(x!=0) { ...
[28 replies] Last: How about a variation of the code: prime = true; for(int... (by dilver)
creating a program that counts characters and spaces
 
Hi i just registered on this forum, so , my problem is that i need to create a program that counts how many characters a user write also counting spaces , but i...
[1 reply] : Your question didn't quite point out if you're a beginner or not, so I... (by OxBADC0DE)
by Daegon
Text-based MUD Coder, needing help.
 
First let me say, Hi! Good to meet you. I'm a newish coder looking for some general help. Well more specific help then I can find in the C++ programming book...
[1 reply] : There is a general problem with serious-minded programmers, they don't... (by OxBADC0DE)
I have a problem
 
I have this problem, when im trying to save data (char type) into a List with pointers, those data doesnt get saved. Somebody can help me? Im using Borland ...
[2 replies] Last: thanks i solved the problem, i move the goto to another place and now ... (by Croland93)
memory leak in c/c++
 
Is it necessary to mach the count of malloc() and free() in your C program to avoid memory leaks.? If number of malloc() and free() are not equal then would it...
[1 reply] : You need to also account for calloc() and realloc() (and strdup()... (by JLBorges)
cout vs printf
 
I'm relatively new to c and c++. Generally I use the g++ compiler but I haven't really been all that careful about using c code as opposed to c++. The way I see...
[6 replies] Last: > Each step individually may be threadsafe, but the act as a whole is ... (by JLBorges)
Explanation of the following syntax?
 
I recently stumbled onto this syntax while reading a piece of code. Its just a struct declaration struct Vector2D { double x; double y; Vector2D...
[2 replies] Last: Lol thanks @norm b, I could of done that myself, but I didn't know th... (by Moonraker101)
Vectors correct?
 
I was wondering if I implemented my vector elements correctly? I am trying to create a CRC program for homework. If you have suggestions on how to clean up the ...
[no replies]
RPN Calc trouble in C
 
Hey guys! I am having trouble with creating a RPN calculator and I have finished 2 files: a dynamicArray.h and a dynamicArray.c and those I believe are correct....
[2 replies] Last: dynamicArray.h: /* dynamicArray.h : Dynamic Array implementation. ... (by bruntmjust)
October 2013 Pages: 1... 3536373839... 86
  Archived months: [sep2013] [nov2013]

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