Search Results

Showing results 1 to 13 of 13
Search took 0.01 seconds.
Search: Posts Made By: amrith92
Forum: C++ 15 Days Ago
Replies: 7
Views: 250
Posted By amrith92
More specifically, this is your problem (the one in bold):
bookinfo(int&, char [51], char [14], char [31], char [31], char [11], int&, double&, double&)

Try changing it to just int, as int& is...
Forum: C++ 17 Days Ago
Replies: 3
Views: 248
Posted By amrith92
>> Now, if after reading the code the output isn't strange to you then my understanding of C++ is probably very wrong and I'm missing something obvious.

Well, as you've rightly guessed, the output...
Forum: C++ 19 Days Ago
Replies: 6
Views: 358
Posted By amrith92
#include <cstdlib>
#include <iostream>
#include <fstream>

using namespace std;

int main(int argc, char *argv[]){

string line = "";
int lineLength = 0;
Forum: C++ 19 Days Ago
Replies: 8
Views: 354
Posted By amrith92
Could you attach a copy of the file "ip.txt", so that we can have a look at it? Further, how is the file generated, i.e, as another program's output, or written manually with a text editor?

You...
Forum: C++ 20 Days Ago
Replies: 8
Views: 435
Posted By amrith92
Okay first things first...
What exactly are you trying to achieve with this code?

Secondly, You can get rid of some of these errors:

1. 17: error: `islowerCase' undeclared (first use this...
Forum: Geeks' Lounge May 25th, 2009
Replies: 44
Views: 3,336
Posted By amrith92
> if inanimate mass can evolve to a complex species like human being in few billions years

My view: Mass can never be inanimate, as atoms make up any mass, and atoms are certainly not inanimate...
Forum: C++ May 24th, 2009
Replies: 15
Views: 623
Posted By amrith92
Firstly, I am not going to do the functions for you, but I'll show you where you are going wrong, and give you ideas on how to correct them. The following code is extracted from your program's case...
Forum: Geeks' Lounge May 23rd, 2009
Replies: 44
Views: 3,336
Posted By amrith92
Oh no!... can this be deleted? I don't know what happened... I was typing in a new thread, and it got posted! I'm extremely sorry...
Forum: C++ May 23rd, 2009
Replies: 2
Views: 749
Posted By amrith92
Please, refrain from hijacking threads. It would just confuse anyone having the same difficulty as the OP, and would make our jobs of attempting to answer to the original question difficult. If you...
Forum: C++ May 20th, 2009
Replies: 6
Views: 345
Posted By amrith92
This statement, to me, sounds like you are trying to get us to do your homework for you. You must show some measure of good faith and post the code that you have already written (not the ones that...
Forum: C++ May 19th, 2009
Replies: 13
Views: 555
Posted By amrith92
Okay, lets see:

// Classes.h

#ifndef CLASSES_H_INCLUDED
#define CLASSES_H_INCLUDED

class BClass
{
/*...*/
Forum: C++ May 18th, 2009
Replies: 2
Views: 587
Posted By amrith92
Hi!

Firstly, if you're a beginner, then its better if you model your game as a text-based game. Game Programming using graphics, audio etc can quickly become overly complicated if you have little...
Forum: C++ Sep 3rd, 2008
Replies: 13
Views: 1,107
Posted By amrith92
hey,

This might be naive, but how come this bit of code isn't working???


int lc=0;

read.open(filename_user.c_str(), ios::in);
while(getline(read, linecount, '\n'))
{
Showing results 1 to 13 of 13

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC