Beginners (Page 73)

by chofs
charcter arrays
 
hey guys just wanted to ask a simple question to be sure...how many bytes are in the following chara...
[3 replies] Last: Your array contains 14 characters: 13 letters + trailing zero. As char... (by MiiNiPaa)
Need help with fixing error within code
 
I have recently started working on an in-game mod menu for Call of Duty Black Ops II on the Xbox 360...
[1 reply] : Key_IsDown exists twice (with the same signature). Use a different n... (by coder777)
by samop
Assigning to a string from a function call
 
Hi, I'm stuck on something that's probably really simple. I've a function that returns a strin...
[6 replies] Last: Oh, how embarrassing (but I did say "I'm stuck on something that's pro... (by samop)
Help about one program
 
Solved
[no replies]
Recursive
 
i am a sucker at this....can anyone tell me where the 30 comes from in the output for this function....
[3 replies] Last: [quote=helios]By the way, there are inputs for which the function does... (by a k n)
Finally a standard GUI library!
 
I was wondering why C++ has not a standard GUI library anyway.. Of course there are many good librar...
[9 replies] Last: There is no reason for such a library to be in the standard. It would ... (by NoXzema)
for loop error in cplusplus tutorial
 
Write your question here. // range-based for loop #include <iostream> #include <string> u...
[3 replies] Last: Visual C++ 2010 is pre-C++11 so the code won't compile. The range for ... (by BHX)
by dday9
Return an array from a function
 
I'm not great with C++, I'm more of a VB.Net guy. However I am trying to start programming more with...
[8 replies] Last: Alright, thank y'all so much. (by dday9)
Need help with Project(Part1)
 
Okay so I'm a newbie programmer and I have a project where I need to create two functions. In the ma...
[6 replies] Last: However, putting the constant gsize at the global scope firstly mean... (by Chervil)
recursive functions
 
This code is supposed to take a word that you enter and print back out in reverse so for example if ...
[1 reply] : int j = s.length(); wrd = word; if (wrd.length() < 0) // I d... (by keskiverto)
finding element in 2D array
 
Hi, I need some help with two dimensional arrays. I need to write a function that will find the elem...
[1 reply] : I presume that row k of the matrix (sc ) corresponds to the element k ... (by keskiverto)
wrong constructor called
 
I have the following code in main.cpp: String test ("abc"); test = "bob"; note:...
[3 replies] Last: Change the return type to String & to avoid the constructor call. (by helios)
Call class
 
Hi, How can I call a class in my main ???
[1 reply] : Look at this tutorial: http://www.cplusplus.com/doc/tutorial/classes/ (by closed account j3Rz8vqX)
Loading int from file.
 
I want to load the INT from the file which is a number. Can you please show me a code? This is the c...
[5 replies] Last: Yeah, you overwritten the precious value you had retrieved from file w... (by closed account j3Rz8vqX)
Class Objects
 
When I enter 3 different presidents and their numbers/quotes into the for loop, it only displays the...
[2 replies] Last: As wildblue stated. A possible example with vectors: #include <iostr... (by closed account j3Rz8vqX)
How to read data from text file in same format as file?
 
Here is my information in my text file: Lily Grand 4622 C 32.00 10.50 Tony Stone 5014 A ...
[4 replies] Last: There's a bit on the basics of arrays here. http://www.cplusplus.co... (by wildblue)
Compiler error: "expected identifier before numeric constant"
 
I am getting "error: expected identifier before numeric constant" at line 8 of some code. Line 8 doe...
[5 replies] Last: Oh, OK. I must have glossed over that in the tutorial (by R3B3LCAUSE)
ATM code
 
So I need to make an ATM machine program. I used boolean for flags, if/else statements, and a do whi...
[2 replies] Last: I got it to work yaaay! (by Steakvid)
How to make a class with array member size determined via constructor? (1,2)
 
I am trying to make a class with a 2D array, the length of which is given in parameters of the const...
[20 replies] Last: K thanks (by R3B3LCAUSE)
Problem with error message / if else statements
 
I am writing a program to determine company's weekly payroll. Before I move on to the next step, I m...
[4 replies] Last: Okay, I removed the condition and it worked! (by MissPrimrose)
Pages: 1... 7172737475... 88
  Archived months: [may2014]

Cannot post in this page. To post a new message, go to the first page.