Beginners - August 2012 (Page 31)

[Help] For loop Question.
 
#include <stdio.h> void main() { char name ; int num,k; printf("Enter the number(s) of names you wish to input:"); scanf("%d",&num); printf("Ent...
[1 reply] : Technically, you're entering 3 names, but it's not obvious to you, let... (by Volatile Pulse)
by gerfy1
Pointers Practice
 
I understand pointers for the most part but I want to practice them. I have learned variables, loops, functions, and if and else statements. If there is anythin...
[1 reply] : Why don't you try writing your own? Learn about classes, and then writ... (by BlackSheep)
by gulzi
I NEED help
 
i am trying to learning C++ from 2 year but i did not get any success yet... i am facing difficult topics like POINTER.POLYMORPHISM. and file handling. so any o...
[2 replies] Last: Their "experts" are no better than the members here. I believe there i... (by Volatile Pulse)
by ojbway
No function prototypes with a string argument?
 
I am writing a program and trying to create a prototype of a function in a header file. Here is what I have: Header: #include <string> #ifndef Func_H #...
[1 reply] : Because to properly use a C++ string (which you're trying to do) you m... (by Volatile Pulse)
My Pleasure to be Part of this forum
 
Hi! I'm new here! I'm looking forward to meet everyone and share ideas with you guys!
[2 replies] Last: #include <bobby.h> using namespace grt; void main() { greet <... (by Bobby94)
Converting Celcius to Fahrenheit and Vice Versa
 
Programming I am working on for class this week requires that I use functions to pass information from one function to the other. It appears to me that I have d...
[5 replies] Last: Move the functions below main and fix a few semi-colons and you should... (by naraku9333)
by Ch1156
Return to last function
 
I have my code that allows you to save from 3 different functions, depending on which one your in, and i can use the return statement to return back to the func...
[3 replies] Last: C++ functions act like that by default...But since you're calling Save... (by Volatile Pulse)
enum type
 
Can some explain how to display an enum type variable, instead of the 0, 1, 2 value it represents? Example: // enumerated types enum PhoneType {HOME, WORK...
[4 replies] Last: You can overload operator<< for PhoneType to make it work the way you ... (by Peter87)
Debug and Reformat this program.
 
Can someone debug, and prototype my program please? #include <iostream> #include <string> #include <sstream> using namespace std; long callPlayerChoice; //com...
[3 replies] Last: I'm also a beginner, so maybe you shouldn't listen to what I have to s... (by kaseron)
Almost there!
 
Hi All! I have been working on a program for class that compares to characters together. I have written the program but it always returns the values as true...
[3 replies] Last: Ok thank you for your help, I am glad I was not to far off. (by travisco)
Winsock Programming in C++?
 
Anyone know of any good books or PDFs for networking in C++?
[3 replies] Last: Yea, I think your right... haha (by Bobby94)
Pointers To Constants
 
Hello, I am very new to proramming and am having a very dificult time grasping something. I have to programs to make 1 is to Write a function named Compu...
[2 replies] Last: @ JamesFlanigan: Looks fine to me. I personally prefer to put const... (by Catfish2)
Node program question
 
C++ community I need some help in writing a node program that follows the following instruction: Write a main( ) function that adds and removes node objec...
[no replies]
Problem
 
Hi guys, I created this program for converting things (for now, only temperature) And the conversion part works well, but then, when I want to go back to the b...
[2 replies] Last: Hi, i completely agree with Bambanos and add that you shouldn't define... (by AkramIzzeldin)
by Ch1156
Not random enough
 
I have my battle program that i re wrote entirely and i cant seem to make the enemy choices random enough, it chooses the same thing like 4 or 5 times before go...
[3 replies] Last: Move the srand(T); statement out of the loop. Otherwise you re-initia... (by abbottshaull)
Cant delete node with recursive function
 
I have a practice problem from a book that I cant figure out. I wrote code that creates a link list up to ten nodes, but when i try to delete a node using recur...
[1 reply] : Well, Delete_List() traverses the list and returns NULL at the end. ... (by coder777)
How to give the user multiple options to select from
 
I youtubed a c++ game video and this guy made an incredible c++ game w/out using any api libs or anything and the most craziest thing I seen this guy do in his ...
[3 replies] Last: C++ presents three loop constructs; while , do-while , and for .... (by Moschops)
line 167
 
Can anyone explain why i am getting an error "no operator ">>" matches these operands" for line 167?? #include "stdafx.h" #include <iostream> #include <...
[5 replies] Last: I had a guy at work help me out, and he gave me this...it seems to wor... (by scu1casper)
windows.h header?
 
What exactly does that header file #include <windows.h> entail? So far I know of the Sleep function, but that's about it.
[7 replies] Last: @ OP: I don't know if you realize this, but just like .c and .cpp file... (by Computergeek01)
by ozza
Make txt file secure
 
Hi, I made a password protection program, and the password is encrypted and stored on password.txt. I then set password.txt to a hidden file, which isn't really...
[15 replies] Last: [quote=IWishIKnew]Do you even know what encryption is? How ironic.... (by helios)
August 2012 Pages: 1... 2930313233... 45
  Archived months: [jul2012] [sep2012]

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