Beginners - May 2008 (Page 3)

Simple recursion problems
 
Hello, After several revision attepmts of this very simple program, I decided to come here and ask for help. I am studing recursive functions and one of...
[4 replies] Last: That is an incremental search alg. Instead of being accurate from the ... (by Zaita)
Writing a String to a file
 
Hi, I'm trying to get information from a edit box (using Borland) and then put whatever they type into the edit box to be put into a file and then later the ...
[1 reply] : http://www.cppreference.com/cppio/examples.html That should set you... (by Zaita)
Problem with an equation
 
Im using this code to encrypt a text void encrypt (char a ) { for( int i=0; a != '\0'; ++i ) ++a = a + 3 * 4 / 5 * 23 - 12; } and this to de...
[3 replies] Last: Formatting pls, this isn't the obfuscated C contest. Your encryptio... (by Zaita)
Readin' Files
 
Myself (and others) are wondering how to write prgs that read and manipulate data in files w/ structures and arrays. For example, I know if you're using ints...
[1 reply] : I have always used the standard C approach to do this. You can use the... (by Zaita)
Telephone digits
 
I am writting a program for telephone digits which is ok i did it now I want to change the program to prompt a used to enter a telephone number that express...
[1 reply] : Looks like you've done pretty good. (But try entering ' [ ' for the le... (by Duthomhas)
Re: Reading Files
 
Myself (and others) are wondering how to write prgs that read and manipulate data in files w/ structures and arrays. For example, I know if you're using ints...
[2 replies] Last: I'm actually not sure which, but this is really helpful (by steinzfan)
by BabaG
c++ - system() question
 
pretty much finished getting my little app to run and have a question about the system() command. i'm using a command line app called nconvert to process ...
[3 replies] Last: thanks Duoas! (by BabaG)
by kaeota
Accessing const global variables from functions
 
Please, before anyone says, "DONT USE GLOBALS BECAUSE...", I know their bad! Our instructors have already lectured us on never to use globals, unless their cons...
[9 replies] Last: It looks like I was a little off-the-cuff too. Sorry. But I still t... (by Duthomhas)
by doraid
sum of diagonals in 4*4 array
 
how can i find he sum of row and diagonals of 4*4 array
[3 replies] Last: thanks for reply i will try (by doraid)
How to convert VARIANT to String (without MFC)?
 
Hi, I'm using Visual C++ Express. I have a DLL which will receive data (variables) as VARIANT (this is obligatory). The data is String, like 2008-01-22 so...
[2 replies] Last: nothing at all.. it's not included in the free VC Expresss Version. ... (by ChristophLange)
Reallocation of Memory in a string
 
Hi All, Below is a piece code which im using to store some values from the array tempflow to flow. I have an array of bytes whose size is unknown and to which...
[2 replies] Last: There is no standard way to realloc () data managed with new and d... (by Duthomhas)
Need Some Advice
 
Hi ive been learning c++ for awhile now but its confusing me what libraries i should use i want to be able to make games and software that uses the internet, i ...
[2 replies] Last: Hey thanks for that, that library seems to have been made using direct... (by irishstevie)
by Ptolmy
.net Framework
 
Just before I ask I'm going to say I'm a complete noob for the most part and I only recently picked up c++ again recently after learning delphi forr a year and ...
[2 replies] Last: Thanks :) (by Ptolmy)
connect four crashed...
 
below is my code it compiles whitout errors, but when i run it, it crashes at wincheck () first prog btw, so be nice :) #include <iostream> using names...
[6 replies] Last: thanks however, when i drop someting in row 0, the field looks some... (by darkstone knight)
by abcd
using recrsion.
 
write a program that includes a recursive function to evalute the first n terms in the series specified by y = 1 - x + (x^2)/2 - (x^3)/6 + (x^4)/24 + ...... + (...
[2 replies] Last: you can use recursivity to calclate the factorial: double factorial(... (by Nandor)
by Nandor
input/output with files
 
I saw a code to make an output to a file in the tutorial: offstream.file; myfile.open("file.txt") myfile<<...; myfile.close() But i'd like to put in the ...
[2 replies] Last: This is my final MS-DOS version.I have separate programs for writing a... (by Nandor)
by pekt2s
C++ Compiler
 
Hi guys. I need your help. I'd like toask where i get C++ compiler or instaler. Thanks.
[2 replies] Last: Windows Visual C++ 2008 Express http://www.microsoft.com/express... (by Duthomhas)
by doraid
correct this code
 
the home work said that : Write c++ program that prompts the user to enter numaric values for a 4X 4 array. the program will display the fllowing menu. 1-...
[no replies]
where is the memory returned?
 
Ok, to my limited understanding, when we use pointers and allocate new memory within a class, we are to create a destructor that returns memory used by that cla...
[2 replies] Last: It helps very much, thank you. That is exactly what I wanted to know. ... (by srutherford)
by BabaG
linux beginner - assign first file in directory to variable
 
i'm not a programmer but have managed to put some things together to use for my artwork needs. i'm now trying to translate an xp powershell script into c++ to...
[3 replies] Last: First of all, the error my code generated is because your operating sy... (by bnbertha)
May 2008 Pages: 12345... 12
  Archived months: [apr2008] [jun2008]

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