# Beginners - May 2013 (Page 5)

 by yaraa can you tell me whats the output here int x=9; int *yptr; yptr=&x; yptr+=2; cout<<*yptr; system("pause"); } May 29, 2013 at 7:03pm UTC [8 replies] Last: [quote=yaraa]Then it would be 11 is that right ?? No, it would be rand... (by LB)
 Dynamic memory problem? Hello, I'm starting to learn C++ and I decided to create a simple program using dynamic memory from... May 29, 2013 at 5:20pm UTC [8 replies] Last: Alright! Now I get it. Thanks! (by jesuscheng)
 by Rooky Teaching I was wondering if anyone could teach me C++ for free. I know I may not get much responses but if s... May 29, 2013 at 5:15pm UTC [6 replies] Last: I believe its easier to be told by a person than a tut online A... (by pogrady)
 by matoukap Switch wont initialize Write your question here. I just started learning C++ so this is just a basic calculator program I ... May 29, 2013 at 5:12pm UTC [3 replies] Last: this is the point where the program just ends without continuing on t... (by MikeyBoy)
 counting table so im trying to make a function that will count up and out put in a calendar style table but my coun... May 29, 2013 at 5:04pm UTC [5 replies] Last: Thanks for the ideas everyone. (and i know i was aware about it start... (by tyler72us)
 by kathrine stirngs How many distinct substrings does a given string S have? For example, if S = "abc", S has 7 distinc... May 29, 2013 at 4:32pm UTC [10 replies] Last: A string with distinct components has exactly s*(s+1)/2+1 substrings... (by condor)
 Trouble looping to the start How do i loop back to the start after i generate the maze? ive tried a bunch of things and they don'... May 29, 2013 at 4:31pm UTC [4 replies] Last: Why didn't that work? although its frowned upon, you can also use got... (by pogrady)
 int is not a class,struct or union type hi everyone. i got a bit problem with executing this following codes..when i compile it come out an ... May 29, 2013 at 4:26pm UTC [5 replies] Last: 1) Conflicting function definition and declaration. 2) Don't return ze... (by dhruv90)
 Assigning to 'char' from incompatible type 'char[1024]' So I'm trying to be able to store an array of characters, and it's giving me the error message above... May 29, 2013 at 3:59pm UTC [16 replies] Last: that is what you want, but that is not what you do. your have char buf... (by nedo)
 by geezle86 What Variable? HELP! I want to define a name (word, not numerical): what to use? I cant using char :( imma noob May 29, 2013 at 3:16pm UTC [1 reply] : #include #include int main() { std::string n... (by MiiNiPaa)
 nios2linux kernel file management Hye there! I was cross compiling my cpp file. then, I generated executable file. I made zImage whic... May 29, 2013 at 2:58pm UTC [no replies]
 by dhilchie Picking from a list Is there a better way to choose a number from a list other than a bunch of if statements. Essentiall... May 29, 2013 at 2:39pm UTC [2 replies] Last: #include void do_math( const int (&a) ) { std::cout ... (by JLBorges)
 by letscode creating text button I use Turbo c++ 3.0 as well as CodeBlocks compiler/IDE on Windows 7 32 - bit OS. I want to create a... May 29, 2013 at 2:12pm UTC [12 replies] Last: thank you coder777 i had really forgotten about the strcpy function. A... (by letscode)
 by raminr63 read an check some data from a text file in c++ Hi programming language: c++ Guys pleas someone help about read an check some data from a text fil... May 29, 2013 at 2:04pm UTC [no replies]
 by hychan Sum of odd numbers between a certain range I'm trying to write a program that outputs the odd numbers' sum between a certain range. For example... May 29, 2013 at 1:23pm UTC [1 reply] : c is uninitialized. On line 11/12 and 15/16 you add some values to ... (by coder777)
 Template classes <-> separate class compile Hi, I have a subsystem where all classes are compiled separate, and runnable objects are created ... May 29, 2013 at 1:11pm UTC [11 replies] Last: isn't there one 'nsp_MYCLASS' too much in the last code-example ? Coul... (by Kitesurfer1962)
 by Gonzator Cannot open file using variable name I cannot open the file using variable name. I tried the suggested answers to similar problems and s... May 29, 2013 at 11:53am UTC [8 replies] Last: That is strange. It looks like file were opened in binary mode. Or it ... (by MiiNiPaa)
 by juxte Problem with setting an array of chars Good morning, I have a "Cell" class, with a "name" attribute. On other hand, I've got the main cl... May 29, 2013 at 11:34am UTC [10 replies] Last: Thank you very much to both!! I'll use 2 variables, it's the best solu... (by juxte)
 Program cuts off inputs by program player I'm not sure if this is a coding problem, as on my computer when you input the player name it is fin... May 29, 2013 at 10:41am UTC [3 replies] Last: Also when I go to use getline(input, heroname) as opposed to getline(c... (by stranglehanz)
 Lines to Quads Lines to Quads The objective of this exercise is to read in a file stream of X, Y & Z vertex co-o... May 29, 2013 at 9:14am UTC [2 replies] Last: Thanks for that, I will try and go through your points. Entries wil... (by peter hurley)
May 2013 Pages: 1... 34567... 65
Archived months: [apr2013] [jun2013]

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