Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
Ranked #2K
~5K People Reached
This member's community profile is only visible to logged in members until they have earned 15 reputation points.
Favorite Forums

11 Posted Topics

Member Avatar for jimFan

Dear all, I experienced an unexpected error when using getline() to get input from a file like this: a.out < inputFile Part of the code is shown below [CODE] ........ while (true) { cout << "Enter a command: "; getline(cin, input); cout << input << endl; } ......... [/CODE] The …

Member Avatar for p9v9n261
0
468
Member Avatar for jimFan

Dear all, Forgive me for posting two threads for the same problem. I was not showing my problem clearly enough in the previous one. Thank Narue for answering that anyway. Now I do it again here: [CODE] #include <iostream> #include <string> using namespace std; int main(void) { string inputStr; while …

Member Avatar for Fbody
0
1K
Member Avatar for Member #25180

I got the similar problem with you, Geek-Master. What kaiser<lucy> said is still a little bit abstract for me. So Geek-Master have you tried the dynamic memory allocation using [I]new[/I] and [I]delete[/I] operator? They could only deal with pointers. Now my own problem comes. Books say we can use [I]new[/I] …

Member Avatar for new programer
0
522
Member Avatar for jimFan

Dear all, Is it ever possible to write a programme in C++ which enables me to: 1) Read the data in spreadsheet of MS-Excel 2) generate another Excel file as output ? Also, are there any standard library could do the job? One of my friend said using Visual Basic …

Member Avatar for miketillman
0
1K
Member Avatar for mv6603

Hey man, Seems like you have declared your function in this way: (defun my-add (n) (...)) instead of this: (defun my-add (m n) (...)) Hope this could help. Jim

Member Avatar for indienick
0
101
Member Avatar for ryy705

[CODE] ;L is is the list of animals and countries (define (animalList L) (cond ((null? L) '()) ;caar L gets the first animal then the recursive ;call gets the rest of the animals (cons ((caar(L)) (animalList(cdr(L))))) ; <= LOOK AT HERE ) ) [/CODE] You have missed out the "else" …

Member Avatar for jimFan
0
89
Member Avatar for tristan17

[QUOTE=tristan17]hi, thanks for your reply, but how do i check the permission setting of the file? rgds, tris[/QUOTE] Hi tris, Use the following command to check if your hello.cgi is executable: ls -l hello.cgi Note the following position of the output: -rw-rw-rwx 1 user group 564 Jan 29 00:02 hello.cgi …

Member Avatar for tristan17
0
99
Member Avatar for chound

Hi Chound, I would like to help out but could you clarify your question a bit and post what you've got so far? Do you mean C string or C++ string? If you have 2 strings and you "remove all the characters present in both the 2 strings", the no. …

Member Avatar for vegaseat
0
184
Member Avatar for evilsilver

When I run your programme using Dev C++ at the line [CODE]if (name == "silver") {[/CODE] I add-watch to the comparison [CODE]name == "silver"[/CODE] I get [CODE]name == {115's', 105'i', 108'l', 118'v', 101'e', 114'r', 0'\0'}[/CODE] name occurs like C string and is delimited by '\0'. So name is "silver\0" but …

Member Avatar for jimFan
0
146
Member Avatar for jimFan

Hi all, I tried Visual Basic 6.0 recently and I used it to generate a programme for simple experimental data analysis. The programme runs fine on most machines EXCEPT those in my laboratory. But it must run in lab or otherwise the programme I write is rubbish. What so strange …

Member Avatar for Real-tiner
0
366
Member Avatar for xxraveteddyxx

Hi xxraveteddyxx, Hey I am just interested by the Japanese characters you used. Are you native Japanese (or 'Nihongo' if you feel more comfortable with)? Jim

Member Avatar for alc6379
0
219

The End.