Beginners - August 2008 (Page 10)

Need to understand this random number program
 
Hey, I am trying to learn the rand() function in C++ I got this program that prints 10 random ...
[7 replies] Last: I also have this problem almost the same. I have a project which inclu... (by gianfaye)
Questions about Xcode
 
I was wondering if anyone could point me toward some good xCode tutorials. I'm not looking for C++ t...
[3 replies] Last: As I am on a Linux system, I have seen the power of both Qt and wxWidg... (by kacko)
by kacko
ENUM or ARRAY or NIETHER
 
Here is what I would like to do, input a value and check whether the first value is a digit or a alp...
[5 replies] Last: Thanks Helios I appreciate it!! (by kacko)
How do i goto a new function?
 
I was wondering how or what command to use to get from the middle of one function and go into a new ...
[18 replies] Last: Thanks, The article answered my question. (by kacko)
trouble with inheritance(inital problem solved)
 
I know its been a while since I had a problem, but this chapter has been kicking my butt. I got the ...
[1 reply] : Believe it or not I solved the issue but not sure if that was right wa... (by tdigdug)
Removing individual characters from a string
 
//Vigenere cipher program #include <iostream> using namespace std; void begde(); void begen...
[15 replies] Last: Nope, just a typo. It doesn't show the encoded version of the string,... (by QWERTYman)
by haubke
find member doesn't work in my case haha
 
hello people i'm am a litle bit new to programming in c++ i did some assembly in microcontrollers a...
[2 replies] Last: aha i did read something about the npos haha i'm so stupid:P i'm goi... (by haubke)
copy constructor
 
class fraction { private: int *num; int *denom; public: fraction(int =0, int =1); // con...
[3 replies] Last: Yes, when you assign to an object using another object of the same cla... (by Mitsakos)
sum with a pointer
 
Hi all, i've got some problems with pointers if i write: int* plen; /* some code */ *...
[1 reply] : You are using an uninitialised pointer. You should first make the... (by guestgulkan)
vector exit code
 
I have a program with vector and it exits with code -1073741811. I think this happens becouse I eras...
[11 replies] Last: I dont want to push_back something in the middle. I want that if some ... (by hamsterman)
Hello World Problem
 
I've just finished installing the Borland C++ 5.5.1 version. Now, the problem is that, my hello worl...
[9 replies] Last: Is Borland 5.5.1 a command-line compiler? You might need to include t... (by psault)
Can I do...?
 
As you can see, I'm new... ... Anyways, I've always wanted to learn a programming language just ...
[2 replies] Last: Haha I suppose, but it's more rewarding this way. Thank you for the r... (by sdkelso)
Gargbage out but no garbage in...
 
Ok, so I have been working on this little calculation program. I am using it to test different C++ f...
[5 replies] Last: It was the use of the fGallonsNeeded that threw me. I thought why giv... (by guestgulkan)
functions
 
While observing an existing code, i see a following statements sometime...can anyone help me to unde...
[3 replies] Last: It seems to me like an utter waste of time to declare anything like t... (by Zhuge)
by kacko
Uderstanding terminology
 
This may sound stupid, but I am so it doesn't matter :-) Is there a site I could go to, or a 'Dic...
[3 replies] Last: Ill check them out, Thanks! (by kacko)
file input counting problem
 
the following code is part of a program i am working on. i want to use the stu_count variable to fin...
[3 replies] Last: It's some garbage at the end of the file. It get picked up because of ... (by guestgulkan)
A very simple C++ program question
 
I'm using Microsoft Visual Studio's C++ 2008 win 32.. How do I assign a variable to exit the progra...
[3 replies] Last: #include <iostream> using namespace std; int main() { int ... (by OleFowdie)
seg faults with lists
 
ok, so im getting a seg fault when im trying to add to a list. what im trying to do is get a list...
[10 replies] Last: hmmmm why does that compile (after removing #inculde <conio.h> and ... (by arathalion)
structures inside STL List
 
Hello im a newbie in C++ programming.. Pls Help... I declared a structure struct mystruct{ ...
[5 replies] Last: wow thanks a lot Faldrax.. Ive finally figured it out.. i only have t... (by jodeen20)
How to convert Binary to Decimal?
 
Hi guyz! I know how to convert decimal to binary but I've found that converting binary to decima...
[5 replies] Last: You can read the input into an array or a string. And then access each... (by Mitsakos)
August 2008 Pages: 1... 89101112... 14
  Archived months: [jul2008] [sep2008]

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