Beginners - November 2011 (Page 13)

storing several strings in an array.
 
Hello team. just looking for a bit of advice. I want to store a sires of ten names into a single array.i just want to know if i NEED to write the array like thi...
[3 replies] Last: The downside of not using string literals is that the null-character m... (by closed account zb0S216C)
yearCalc help
 
Hi I have a program that has an integer parameter representing the total number of days from the date 1/1/2000 and reference parameters. It is supposed to calcu...
[2 replies] Last: okay so would i cin>>day instead or make another variable called num t... (by bates43)
by Thetr
Loop learning
 
I am having a hard time learning loops. Like i know what every loop does but it's really tough for me to implement them to my programs.. So if you have any s...
[2 replies] Last: If integrating loops into your programs is a struggle, know this: Loop... (by closed account zb0S216C)
i pretty much want the idea
 
hello guys, i have been thinking for a while on how to print the some numbers. For example i want to ask the user, how many numbers he is going to use and then...
[1 reply] : This "idea" is rather complex. There are countless sorting algorithms... (by ascii)
How to kill a process?
 
How to use C++ to stop a running process on Windows?
[1 reply] : You "just" obtain a handle (HPROCESS) to the process and call Terminat... (by andywestken)
plzzzzzzzzzz .... help im hopeless
 
i need a help ..... in this code i'm truing to to enter the value x then the program should print message to show whether the x is prime number or not useing fo...
[3 replies] Last: Few things: 1. major problem - your loop starts at i=0, so you are ... (by michael0112)
plzzz help ......... i need a help
 
i need a help ..... in this code i'm truing to to enter the value x then the program should print message to show whether the x is prime number or not useing fo...
[2 replies] Last: thanks alot .... :) but i need to ask you more question about it the ... (by Reema Alqerm)
by moot1
tip calculator
 
why doesnt this work #include <iostream> using namespace std; int main() { double bill; double percent; double tip; cout <<...
[1 reply] : never mind i fixed it (by moot1)
Help please.
 
please don't spam i'm only 134 and trying to learn. I'm using codeblocks and i wan't to make a game what kind of project would i do how do i make servers...
[2 replies] Last: First you need a game library I started off with allegro but the peopl... (by TheMassiveChipmunk)
by lolwut
Reading a text file into a vector
 
I have an assignment where I have to write a program to prompt the user for a file name and location (it is a text file), once the user has entered that, a menu...
[4 replies] Last: To find the name, std::find() : http://cplusplus.com/reference/algori... (by bbgst)
error LNK2019: unresolved external symbol
 
Hey everyone, I am just learning to program through multiple files and I am getting this error that I can not seem to figure out: CPPPP CH9Q4.obj : error LN...
[2 replies] Last: Thanks for the reply! No more unresolved externals! (by Redshift)
by wtf
Besides -s and -Os
 
What other compiler settings can I set to optimize for size?
[6 replies] Last: @Duoas Sorry I didn't know it sounded like I was being mean or anythin... (by TheMassiveChipmunk)
by wtf
I'm getting a warning message: overflow in implicit constant conversion.
 
char ch; switch(ch) { case 225: break; } If I changed it to case (char)225: break; will that behave as I expect it to? Or am I ...
[6 replies] Last: Yes, it's just a obscure way to do what you are trying to do. If you u... (by bbgst)
by A0x0
brahs need help with rotatting array (srs)
 
So my task is to rotate array by 90 degrees. but my problem is that when i try to do i get wrong results it's shiffted randomly or something :/ (+i got som...
[no replies]
text oriented game-c++
 
Hello, I am new to C++ programming and I would like to create a text oriented game, a game without animation, where you type commands for your character, for ex...
[1 reply] : A similar thread: http://cplusplus.com/forum/general/55867/#msg300407 ... (by hamsterman)
someone plz explain FOR loop.
 
ive been trying to figure this out for like 2 hours.here's the code #include <iostream> using namespace std; int main() { int n, c = 2; cou...
[6 replies] Last: ok ive decided to quit learning c++ from websites, im joining an insti... (by srinivas01)
by Songok
problem-arrays (1,2)
 
Hi all, First post here. teaching myself C++ and strugling a bit! Quesion I cant figure out a solution too using arrays. Question list of first names (27 elem...
[23 replies] Last: Quite funny that it took half a page until someone (fanfer) pointed ou... (by Gaminic)
First script could I make it any better (1,2)
 
Hey everyone, new to this forum and C++ but im having fun anyway made this script could it be made any more efficent/better in terms of coding ? #include <...
[21 replies] Last: You wanted one of the below (which evaluate to the same thing): whil... (by Mathhead200)
Making a calendar in C++
 
Hi, I'm trying to make a calendar but it comes out wrong. This is the output I get: January 2009 Sun Mon Tue Wed Thu Fri Sat 1 ...
[2 replies] Last: if your really interest in Building Calender Application then you can ... (by Bibek Subedi)
repeat char
 
hi, i'm new at C :s is there a way to print one char for n times without using for or similar? thanks
[5 replies] Last: Since this is a C++ forum, a couple of C++ approaches: #include <str... (by Cubbi)
November 2011 Pages: 1... 1112131415... 65
  Archived months: [oct2011] [dec2011]

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