
please wait
by Krypa
Simple Visual C++ question, functionality
|
I searched through the forums and couldn't find any relevant material to my question. In some tutorials listed on this site the coding window has the line numbe... |
Apr 9, 2009 at 2:34am
[4 replies] Last: Thank you all for your responses. I have corrected the problem(s) I ha... (by Krypa)
|
easy question |
I want to do this calculation: float interest; float initBalance; interest = (1/12) * (3/100) * initBalance; cout << interest; Problem is, (1/12) a... |
Apr 8, 2009 at 11:32pm
[2 replies] Last: haha awesome thank you very much. (by shakethatmoney)
|
by CodeNoob
Swapping letters from an array in a very specific way
|
Ok so I have to swap two letters in an array....specifically position i and j WITHOUT screwing up the the position of everything ELSE. Now here's the problem I... |
Apr 8, 2009 at 9:02pm
[5 replies] Last: you'll need to delete at an index, and then the new value at that same... (by Gumbercules)
|
by yashar
read from text file and change to binary
|
Dear friends I have a conversion from ascii to binary while when i use my input which is like this : 16078 16283 0.3708 16078 16837 0.4514 16078 17820 0... |
Apr 8, 2009 at 4:33pm
[no replies]
|
by MatieA
While loop with a return value function
|
I'm having a problem here, and if someone could point me in the right direction, it would be most helpful. I've pasted the error message below, and then my cod... |
Apr 8, 2009 at 1:42pm
[2 replies] Last: Oops I figured out what was missing here; it's working now. Thanks ... (by MatieA)
|
by uniati
Why create prototypes?
|
I'm reading this book, and I see they use examples as: int myFunc( int ); int main(){ // Do something } int myFunc( int n ){ // Do something }... |
Apr 8, 2009 at 1:27pm
[5 replies] Last: The C++ standard requires that a symbol be defined before it is used. ... (by jsmith)
|
by ak555
why main can't be void
|
why return type of main can't be main |
Apr 8, 2009 at 1:22pm
[6 replies] Last: So after all this, the answer is, to paraphrase Bazzy, "because the st... (by jsmith)
|
by Den Mark
Greetings
|
Hi everyone. I am Den Mark, and i'm a newbie here. i am a PLC programmer and i realized that working with PLC is somekind of limited. i want to learn C++ and... |
Apr 8, 2009 at 12:10pm
[5 replies] Last: Sorry, I misunderstood your question. You should be able to use Visua... (by jdd)
|
by uscuba2
How to
|
It has been awhile since I used c++. I am not asking for the solution but more of a how to start after int main. What I need to do is emulate the C op... |
Apr 8, 2009 at 12:01pm
[1 reply] : Do you want to create a program working like this: input="1+2*3;" outp... (by Bazzy)
|
by Alkaselzer
Arrays, .ppm images manipulation
|
Hi there again! I've been working on an assignment since it was given to me on Thursday, that involves making a C++ console application that manipulates .ppm im... |
Apr 8, 2009 at 6:17am
[no replies]
|
by MatieA
\a ?
|
My instructor gave us some sample code and she used a \a Can someone tell me what it is used for? I can't find it online or in my textbook? cout <<"This pr... |
Apr 8, 2009 at 3:40am
[5 replies] Last: Printed and filed with schoolwork...Thanks again for the help (by MatieA)
|
by BlueKitties
Problem with basic I/O.
|
I'm making a typical beginner's phone/address book program, but I'm having issues with my I/O. At line 26, I've been forced to use std::cout for displaying my c... |
Apr 8, 2009 at 1:03am
[10 replies] Last: What do you mean by "problems with persistance"? Are you talking abou... (by firedraco)
|
by imadude1990
Just a little question.
|
stack<int> mystack; Does this line mean the object mystack only accept integer?? Thanks! |
Apr 7, 2009 at 10:27pm
[1 reply] : Yes, well, it might "accept" say float and cast it to an integer, but ... (by Gumbercules)
|
by c87
Need assistance with creating a deck and shuffling it
|
I am new to c++ and I need help on what i did wrong with this code. I was trying to create a deck and print it and shuffle it and then print it again but i can'... |
Apr 7, 2009 at 9:52pm
[2 replies] Last: Your iDeck is a 4x52 array. Unless you mean it to be 4 decks of cards... (by jRaskell)
|
by Sabal
? : operator
|
I am having trouble understanding this operator. I read up on it, and from what I see, it has something to do with bool. I have this specific example taken from... |
Apr 7, 2009 at 9:15pm
[5 replies] Last: Here's another one: The second and third operands must be evaluate to ... (by helios)
|
by theisonews
phonebook director
|
#include <iostream> #include <map> #include <conio.h> #include <string> using namespace std; int main() { map<string,unsigned long> phone_book; /... |
Apr 7, 2009 at 9:04pm
[1 reply] : Line 30 looks good to me...so does line 29. Watch for mismatching uns... (by seymore15074)
|
by kaidranzer
tricky code
|
consider this one its one good tricky code i encountered : #include <iostream> using namespace std; int main() { cout << cout; return 0; } ... |
Apr 7, 2009 at 8:31pm
[4 replies] Last: It is implementation defined. It calls basic_ios::operator void*(),... (by jsmith)
|
by Torr3nt
Not equal to in 'if' statements?
|
It's probably somewhere on the site, but how do I have a condition for an if statement that runs if a variable is not equal to something? Something like (But i... |
Apr 7, 2009 at 6:09pm
[2 replies] Last: != (not equal to) http://www.cplusplus.com/doc/tutorial/operators/ ... (by jdd)
|
by jayray23
Program Logic
|
Hi there i'm trying to find the logic behind the following question. Write a C++ program with a nested loop structure that displays the following pyramid in ... |
Apr 7, 2009 at 5:05pm
[2 replies] Last: Here is a hint: Two for-loops. The outer loop starts at 6 and go... (by eker676)
|
by faizul
How to create a Memory Game
|
hi fellow member.. i just wondering how to create a memory game by using C++ language.. its really helpul to guide me or show me how to program this game.. TQ! |
Apr 7, 2009 at 4:57pm
[3 replies] Last: ok.. i think we are talking about the same game.. see the basic idea ... (by writetonsharma)
|