[try Beta version]
Not logged in

Beginners - February 2013 (Page 37)

Using function arrays
 
Hello there c++ programmers. I've been struggling to understand arrays, since a book requires me ...
Feb 15, 2013 at 10:23am
[3 replies] Last: I have not understood your question. I can make some comments. Why di... (by vlad from moscow)
by DELB
Example Code Help
 
Take this code here: // Overriding Boss Program.cpp : Defines the entry point for the console appl...
Feb 15, 2013 at 10:10am
[1 reply] : You don't need to implement assignment in this case. The defaults (co... (by kbw)
by fusi0n
strtok returns unwanted empty line
 
Hi, I am tring to strip one text of all the symbols of my choice and print all the words out one by ...
Feb 15, 2013 at 8:15am
[1 reply] : I would like to ppoint out that the string literal in the statement be... (by vlad from moscow)
error: ISO C++ forbids comparison between pointer and integer
 
Well I'm not exactly sure what the error means, but it's error: ISO C++ forbids comparison between ...
Feb 15, 2013 at 8:02am
[3 replies] Last: By the way your array method will always contain symbol '\0' because i... (by vlad from moscow)
Trouble with Linked Lists Delete Function
 
First: This is for homework and no I am not asking for the entire solution I just need help figuring...
Feb 15, 2013 at 7:12am
[1 reply] : What happens on line 10 of DeleteItem if it's called on an empty lis... (by cire)
.cxx/.h class - Initializer Expected
 
I've ironed out all of my errors but one: In file included from UnsortedType.h:1, ...
Feb 15, 2013 at 7:07am
[no replies]
With for loop, printf is working strange.
 
<ex1> #include <stdio.h> int main(void) { int arr ={1,2,3,4,5}; int *ptr = arr; int i; ...
Feb 15, 2013 at 6:19am
[1 reply] : in the 2nd one the "printf("\n%d", arr );" is not part of a for loop ... (by Darkmaster)
by cotro
error: undefined reference to:
 
I am getting these three error messages: In function `RayTracer::trace(Image&, Scene&)':| |45|und...
Feb 15, 2013 at 4:45am
[3 replies] Last: Thanks to both. (by cotro)
Extracting & Reprinting Digits
 
Hello, this is my first post. I am trying to write a simple program that asks the user to input a...
Feb 15, 2013 at 3:32am
[6 replies] Last: Do as chervil suggested and put the digits in an array. Or extract t... (by Lowest0ne)
command line parameter
 
Hey guys, I'm working on a program on ubuntu that will count the number of 1s in the binary represen...
Feb 15, 2013 at 3:11am
[1 reply] : It will work only if you will return anything in you numOfOnes functio... (by Smac89)
currency calculator
 
I am new to c++ and am having to make a program that converts different currencies to and from US do...
Feb 15, 2013 at 2:41am
[no replies]
by MrGuy
How to save a game
 
I made this game but what I want to do now is save it so I can come back and play it again, but I do...
Feb 15, 2013 at 2:20am
[3 replies] Last: thanks ! (by MrGuy)
Help with classes, arrays, and sorting
 
Hey guys, I am really struggling to understand how to use a array to store a value from a class and...
Feb 15, 2013 at 1:55am
[3 replies] Last: 1. How exactly do you mean, without all of the double colons ? The s... (by xismn)
Help with Program (error problems)
 
Hello! I am creating Palindrome problem and I am getting these two errors: recursion.cpp: In func...
Feb 15, 2013 at 1:19am
[1 reply] : strlen and such are library functions defined for you, defining them a... (by firedraco)
Reading from a File
 
I'm having problems reading data from a binary file. My current code for reading from the file is: ...
Feb 14, 2013 at 11:31pm
[2 replies] Last: I made myself a little function in something a while ago (I say made m... (by TheBeardedQuack)
Dynamically allocating objects to Vector
 
Hello, I signed up today in search of help for this C++ problem I have. I am being asked to do th...
Feb 14, 2013 at 11:04pm
[14 replies] Last: Ahh thanks for pointing that out on line 111. Much appreciated :) (by Jerseppi)
by fusi0n
Crashing problem(probably loop)
 
#include <iostream> #include <stdio.h> #include <conio.h> #include <string.h> int main() ...
Feb 14, 2013 at 10:01pm
[4 replies] Last: the first loop I guess (by greenleaf800073)
Generating Array values from a function
 
This is the program. What I want to do here is to generate 10 random numbers and save it in the arr...
Feb 14, 2013 at 9:24pm
[2 replies] Last: Oh so that's it. I still followed my own code. But instead of using ... (by whimcro)
by giblit
* ePtr
 
What exactly does * ePtr mean, and what does it do? Thanks ahead of time. EDIT: nevermind the sour...
Feb 14, 2013 at 9:22pm
[no replies]
by lwells
Search Directory for file type and copy
 
C++ Noob I am trying to write a small console program to make my life easier at work. I need to b...
Feb 14, 2013 at 9:21pm
[7 replies] Last: #include <dirent.h> (by closed account Dy7SLyTq)
February 2013 Pages: 1... 3536373839... 67
  Archived months: [jan2013] [mar2013]

This is an archived page. To post a new message, go to the current page.
Registered users can post in this forum.