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
About Me

Biology Student

Interests
Computer programming, squash, table tennis, badminton
Favorite Forums
Favorite Tags
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
458
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 Geek-Master

I have been reading about pointers, which IS confusing. I'm sure there is a purpose, but I don't know why I need them yet. For example [CODE] [COLOR=Red]var1 = 23;[/COLOR] [COLOR=Blue]// assigning 23 to var1[/COLOR] [COLOR=Red]var2 = var1; [/COLOR] [COLOR=Blue]// assigning the value of var1 to var2[/COLOR] [COLOR=Red]var3 = &var1;[/COLOR] …

Member Avatar for new programer
0
486
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

I need some help... This might seem pretty simple to some people, but I'm really have difficulty figuring this problem out. I need to add two numbers on using the increment(1+) and decrement(1-) functions.. I have the logic for adding work however I need help printing NIL if the user …

Member Avatar for indienick
0
91
Member Avatar for ryy705

Hi, I am a scheme newbie so any help or suggestion is appreciated. The follwoing function with the input '((kangaroo Australia) (Racoon USA) (Tiger Bangladesh[U][/U])) should return '(kangaroo Racoon Tiger) but instead it returns Error: attempt to call a non-procedure ('((kangaroo australia) (racoon usa) (tiger bangladesh))) What am I doing …

Member Avatar for jimFan
0
84
Member Avatar for tristan17

Hi, I admit i'm a complete newbie in perl although i have been invloved in php : ) hope somebody can help me out with this I want to run a simple perl scrip : [CODE]#!/usr/bin/perl print "Content-type: text/html\n\n"; $request_method=$ENV{'REQUEST_METHOD'}; print "request method:",$request_method,"<br>"; print "O.K.!";[/CODE] but it shows this error …

Member Avatar for tristan17
0
93
Member Avatar for chound

I get 2 strings. I remove all the characters present in both the 2 strings.I count the no. of characters left. How do i do this in C++?

Member Avatar for vegaseat
0
173
Member Avatar for evilsilver

I am trying to make a program that needs to compare a string. here is a basic program of what i mean, i want it to say "it worked" but it seems to only read as not true. anyone know how to do this? thanx for any help. [CODE]#include <iostream> …

Member Avatar for jimFan
0
134
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
348
Member Avatar for xxraveteddyxx

i have dev 4.9.9.1...i will create a win 32 console application.. write some code omething basic like... //REMAIN.CPP #include <iostream.h> //necessary for cin and cout commands int main() { int dividend, divisor; //get the dividend and divisor from the user cout << "enter the dividend "; cin >> dividend; cout …

Member Avatar for alc6379
0
207