Beginners - April 2009 (Page 11)

by omk
Copying pointers.
 
Ok, Im not sure if Im going to explain myself properly but I will try mybest :P My question is: C...
[3 replies] Last: when you say array2 = array1 ; , it means 'the second pointer variab... (by arun1390)
by jayt
how to create a file
 
I made a program to create a file but when I go to the given drive I dont find the file. I made t...
[6 replies] Last: http://www.cplusplus.com/doc/tutorial/files/ (by kevinchkin)
by Peyton
Strange array problem
 
Hi there, I have a strange problem with the following code: #include <iostream> using namesp...
[6 replies] Last: Sorry, you are wright. I just looked and saw a variable and out of ist... (by andrei c)
by Brutal
how to use user input for filename?
 
I am trying to have the user input a filename and then open that file? I cannot seem to figure it o...
[2 replies] Last: Thanks a ton I have it working now =] (by Brutal)
by arshak
copying files
 
Hi everyone!!! I wanna write a program, that copies a file from one location to another (for exampl...
[3 replies] Last: C++ is very good for reading and writing files, as far as the standard... (by andrei c)
Removing beggning of the string
 
I've got big char array which contains text from somewhere else, e.g: name Uriziel How can I rem...
[2 replies] Last: Hi Uriziel! Bazzy is right.You should use strings for char variables ... (by andrei c)
C++ .exe/.app
 
Ok so this will probably make me sound like the biggest noob in this forum BUT its a beginners forum...
[10 replies] Last: http://pages.cs.wisc.edu/~beechung/ref/gcc-intro.html (by eker676)
Random chance
 
Hi there, i started learning C++ 3 days ago and i am really excited.I wrote this small code and i wa...
[1 reply] : What do you mean? Your code doesn't even use those variables, i mean '... (by andrei c)
string to array of chars
 
I have a program that reads and writes inventory info to a .dat file. The main routine uses strings...
[1 reply] : Hi josea321! It seems that you missused the strncpy function.That fun... (by andrei c)
by omk
Keeping data made inside a function, outside the function.
 
I had this great idea for controlling data inside the project we have gotten as a school assignement...
[5 replies] Last: Dont' know if this helps, but if you where to pass data into a functio... (by andrei c)
Passing a pointer to a function (1,2)
 
I've made a function to set up a array of modules and then a separate function to print out these mo...
[21 replies] Last: No it doesnt like that for some reason either these were that errors... (by McEtcha)
Creating a database using structures
 
Hello, I have to create a database which contains records of people. My code is below: #i...
[2 replies] Last: ok i made some changes from line 154 this is what i added: while... (by sharkie9)
by sobi
Writing a program in C that parses a text file into words
 
Trying to write a program that parses a text file into words and counts the number of occurrences of...
[1 reply] : How far have you gotten on your own? What part do you need help with? (by PanGalactic)
Compiling game for class (not a homework request)
 
Hi all, I've been assigned some homework (I know but keep reading) which requires me to alter a li...
[3 replies] Last: You should probably start building yourself a Makefile to automate the... (by PanGalactic)
by Jyy
Counting the chars?
 
Hello, I tried to make a code that turns the letters of a word, in a compact way (so not with ex...
[3 replies] Last: Why use " char hoi ; " rather than " std::string hoi; "?... (by PanGalactic)
I need source of C++ exercises
 
Hi every1. I am currently learning c++, and i seriously think i need to write code in order to rea...
[2 replies] Last: Here's another: http://www.cprogramming.com/challenge.html For expe... (by mcleano)
by omk
toupper with pointers?
 
Ive read several topics on the inet now that claims that the following should work: Definition: ...
[7 replies] Last: Yeah, it helped. :) I ended up reading into a string inside the fun... (by omk)
by jeysel
Prime vs Composite Number
 
I want help about this problem; input a number: 6 the output will be 1 >> PRIME 2 >> PRIME ...
[6 replies] Last: thanks for the help guys. I have solve this problem. thanks very much. (by jeysel)
by jeysel
Finding the largest Prime
 
Hey guys, i need help about finding the largest prime. Example:when i Input a number: 100 the o...
[11 replies] Last: tnx for the advice. I have solve it..thanks guys.. (by jeysel)
Problem with carriege return '\r'
 
Hello, I have very strange problem with printing data in console using '\r'. I would like to show cu...
[2 replies] Last: Hello, thank you for your answer. I tried your suggestion, but it stil... (by nieziemski)
April 2009 Pages: 1... 910111213... 28
  Archived months: [mar2009] [may2009]

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