Click here to Skip to main content
15,917,176 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: how to generate a random double Pin
PJ Arends25-Jun-03 15:59
professionalPJ Arends25-Jun-03 15:59 
GeneralRe: console .exe won't run properly Pin
keegan25-Jun-03 10:19
keegan25-Jun-03 10:19 
GeneralRe: console .exe won't run properly Pin
DaveE9th25-Jun-03 21:43
DaveE9th25-Jun-03 21:43 
GeneralRe: console .exe won't run properly Pin
pf726-Jun-03 3:37
pf726-Jun-03 3:37 
GeneralMove cursor to the bottom of rich edit control Pin
skinnyreptile25-Jun-03 9:55
skinnyreptile25-Jun-03 9:55 
GeneralRe: Move cursor to the bottom of rich edit control Pin
Larry J. Siddens25-Jun-03 10:15
Larry J. Siddens25-Jun-03 10:15 
GeneralRe: Move cursor to the bottom of rich edit control Pin
skinnyreptile25-Jun-03 10:18
skinnyreptile25-Jun-03 10:18 
GeneralHelp! About text! Pin
Scozturk25-Jun-03 9:50
professionalScozturk25-Jun-03 9:50 
Hi!
I am a beginner and I have a problem!
I am using the DHTML edit control to let the user enter his/her text. After that he or she clicks on a button and this calls a function. I managed to write a function which reads the text line by line, adds infront of and after each line a Document.write(' and ') and saves it on a file. Well my program works fine if the user writes only one line but if it writes more than one my code doesnt work fine any more because it adds the ') after making a new line!

The users entry just like on the control:

Hi! I am your user.
How are you?

And my program makes this (it can make it correctly if there is only one line to render!):

document.write('Hi! I am your user
')
document.write('How are you?
')

and a webpage with a javascript code like this gives an "undetermined string blabla error!".
Why does it puts the ') after making a newline? Does the dhtml control add something to the text to signal a newline or .....?Confused | :confused: very Confused | :confused:
Can someone help me?

please.... Cry | :(( Cry | :(( Cry | :((

Thank you for your future answers!
GeneralRe: Help! About text! Pin
David Crow25-Jun-03 10:15
David Crow25-Jun-03 10:15 
Questionhow can two classes share a struct? Pin
dadacncn25-Jun-03 9:50
dadacncn25-Jun-03 9:50 
AnswerRe: how can two classes share a struct? Pin
Reaper_Man2k25-Jun-03 9:55
Reaper_Man2k25-Jun-03 9:55 
GeneralRe: how can two classes share a struct? Pin
dadacncn25-Jun-03 10:36
dadacncn25-Jun-03 10:36 
AnswerRe: how can two classes share a struct? Pin
David Crow25-Jun-03 10:18
David Crow25-Jun-03 10:18 
GeneralPassing a Vector into a function Pin
keegan25-Jun-03 9:36
keegan25-Jun-03 9:36 
GeneralRe: Passing a Vector into a function Pin
Nathan Blomquist25-Jun-03 9:57
Nathan Blomquist25-Jun-03 9:57 
GeneralRe: Passing a Vector into a function Pin
keegan25-Jun-03 10:32
keegan25-Jun-03 10:32 
GeneralHelp, unresolved externals Pin
DaveE9th25-Jun-03 8:32
DaveE9th25-Jun-03 8:32 
GeneralRe: Help, unresolved externals Pin
keegan25-Jun-03 8:39
keegan25-Jun-03 8:39 
GeneralRe: Help, unresolved externals Pin
Scozturk25-Jun-03 9:58
professionalScozturk25-Jun-03 9:58 
GeneralRe: Help, unresolved externals Pin
nicoster25-Jun-03 23:16
nicoster25-Jun-03 23:16 
Generalconsole .exe won't run properly Pin
DaveE9th25-Jun-03 8:19
DaveE9th25-Jun-03 8:19 
GeneralRe: console .exe won't run properly Pin
User 665825-Jun-03 8:26
User 665825-Jun-03 8:26 
GeneralRe: console .exe won't run properly Pin
DaveE9th25-Jun-03 8:39
DaveE9th25-Jun-03 8:39 
GeneralRe: console .exe won't run properly Pin
pf725-Jun-03 9:14
pf725-Jun-03 9:14 
GeneralRe: console .exe won't run properly Pin
keegan25-Jun-03 9:19
keegan25-Jun-03 9:19 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.