Beginners - July 2013 (Page 14)

Question: Boolean While Loop...
 
My friend wrote this code for me to understand some topics I asked him about. For his sake (i've asked far too many questions) I want to present this question h...
[10 replies] Last: Thanks! (by InclinedToFall)
Function that returns array?
 
Does anybody know how one goes about having a function that returns a number of values. This is something I have been stuck on for a while and I was wondering i...
[6 replies] Last: @kevinkjt2000, @Cubbi and @Raezzor, Thanks to all of you. The idea wa... (by Moonraker101)
C++11 auto
 
How can I use auto in C++11? I have just started learning the new features in C++11. Thank you!
[4 replies] Last: Okay, thank you for your help! (by closed account jwkNwA7f)
by sean24
needing help
 
hi everyone i am new to this site and programming i am looking for a little help on what book to start programming i am using Beginning Programming with C Plus ...
[1 reply] : I was going through some of the old posts to see if there were any I c... (by closed account jwkNwA7f)
About fstream
 
I just starting studying C++ I/O and i have a question. If i can use fstream to both read an write from/to files, why exist the other two classes: ofstream and...
[12 replies] Last: thank you all guys (by romulosd)
Creating Folder
 
How can I create a folder and also give it attributes like "Hidden"? Can I do it using fstream? Thank you!
[4 replies] Last: Thank you! This has helped a lot! (by closed account jwkNwA7f)
Control size of Message Box
 
I have been reading Charles Petzoid's Programming Windows 5th Edition. I have learned how to make a dialog box like this: #include "windows.h" int W...
[5 replies] Last: I haven't looked at the second one yet, but the first one looks intere... (by closed account jwkNwA7f)
Beginner Projects
 
I have googled this a few times, but I have still ran out of ideas. I have been programming for about 4 or 5 months. I am still working with console appli...
[9 replies] Last: I found one more: http://www.cprogramming.com/challenge.html?inl=12px (by closed account jwkNwA7f)
Making a password protected program
 
I am making a password protected program. How can I make each character typed an '*'. I also would like to make it where only my program can access the file w...
[2 replies] Last: Would encrypting the file make it where only my program can read it? ... (by closed account jwkNwA7f)
counting the digits of nums
 
Hi. I'm not a native, sorry if something is wrong with the writings. I have two problems with this program. the first one is with countOfDigit function. when...
[2 replies] Last: thanks (by fmehri76)
ideas on code
 
I am just getting sick of rewriting this tedious code over and over every time i need it, so i figured just to throw it in a class to include any time i need it...
[5 replies] Last: im not actually the best person to ask that (by closed account Dy7SLyTq)
Random number
 
Hello, I am making a guessing game where you have to guess a number. I can make a random number, but I want the number to stay the same each time you play. So...
[2 replies] Last: Yes, I had, but I have been using srand(time(NULL)); . I guess that ... (by closed account jwkNwA7f)
simple question regarding constructors (1,2)
 
what are some things you cannot do inside a constructor?
[23 replies] Last: ok ok =) (by Disch)
Two 'case' items
 
How can I do a switch with two keys? For example: switch(KeyStroke) { case VK_CONTROL: // and 'C' ... } Thank you in advance!
[2 replies] Last: Oh, okay. I had read about that a while ago, but forgot about it. Th... (by closed account jwkNwA7f)
Beginner's Exercises
 
I stumbled upon an old thread presenting and discussing exercises for beginners. http://www.cplusplus.com/forum/articles/12974/ I have been tackling these o...
[5 replies] Last: Oh man lol. It's so obvious now that you explained it lol. Thanks fo... (by PoBurly)
errors - if else and missing ; syntax error
 
I'm testing a little bit of this program and I'm at a bit of a loss with a couple of errors that are preventing me from proceeding. So there's this one : I'm ...
[2 replies] Last: The line: BankingSystem.CreateAccount(); is not legal C++. Ban... (by MikeyBoy)
the most basic calc dont work
 
I started teaching myself C++ today and I wrote following codes so as to make a basic calculator that does addition but its not functioning. everytime i build i...
[6 replies] Last: it might matter on what compiler he is using cause doesn't code block... (by MikeyBoy)
Ctrl button input
 
How can I get Ctrl button input in a console application? Thank you!
[6 replies] Last: That's okay. This helped a lot! (by closed account jwkNwA7f)
switch calling a member function.
 
I'm uncomfortable with objects and usually just simplistically spell things out. Question 1: in a switch how would I call a member function called this: void...
[8 replies] Last: Thanks for your help. I'm trying to test things now for errors but it... (by philbertfour)
Calculator program input errors
 
Hello, before I ask my question must say you guys are amazing and thank you for answering my question. The problem is that the else if statement outputting the ...
[7 replies] Last: with a default statement if the value does not meet any of the previou... (by gobiking)
July 2013 Pages: 1... 1213141516... 53
  Archived months: [jun2013] [aug2013]

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