Jump to content

Check out our Community Blogs

fire exit

Member Since 30 Jul 2007
Offline Last Active Dec 13 2009 05:01 AM

Posts I've Made

In Topic: i can fix my code. problem with pointer.

01 October 2007 - 07:46 PM

this is what i mean.

1.open txt1 file.
2.move the line or string from text1 file to a variable
3.open txt2 file.
4.move the line or string from the text1 file to a variable.
5.compare the lenght of string from txt1 and txt2.

In Topic: i can fix my code. problem with pointer.

01 October 2007 - 04:12 AM

yes it's a programming challenge 1.


how can i move the string from 2 different txt file without bug? any sample code?

In Topic: i can fix my code. problem with pointer.

28 September 2007 - 11:49 PM

Sorry for the code.:P. I am new in C++ so i use only info that i understand and sometimes i gathered from other source code.

The code is only similar to a part of a program i really want to make.

There is a web that gives missions, in order to finish the mission we need to create a program of any programming languages to solve the mission. i take the mission to enhance my skills in programming.hoping.

this is the mission, i have to scramble the letters of 10 words given by the site. There is a downloadable wordlist file where the right word will be match to the scrambled 10 words and i need to give the answer in 30 seconds. If i am going to type 10 word, 30 second is not enough, instead of typing each word to be process i copy the words and paste it in word.txt, that's why i use pointer in order to move the string from word.txt then compare the lenght to to a string from wordlist, compare the total sum of ascii value,compare the letters and then write it in a new text file.

and when im not using pointer i receive an error on strlen().

In Topic: C++ read each character of the word?

25 September 2007 - 10:21 PM

that is exactly what i want!! thanks!!!.

In Topic: convert character to Ascii in C++???

24 September 2007 - 10:16 PM

What if i want to convert ASCII to Character.how can i do that?

Thanks sir. You are a big help to us programmer( both newbies and Pros). Thanks again.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download