Search Results

Showing results 1 to 11 of 11
Search took 0.00 seconds.
Search: Posts Made By: amrith92 ; Forum: C++ and child forums
Forum: C++ 2 Days Ago
Replies: 7
Views: 142
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++ 3 Days Ago
Replies: 3
Views: 205
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++ 6 Days Ago
Replies: 6
Views: 228
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++ 6 Days Ago
Replies: 8
Views: 244
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++ 6 Days Ago
Replies: 8
Views: 291
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: C++ May 24th, 2009
Replies: 15
Views: 617
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: C++ May 23rd, 2009
Replies: 2
Views: 699
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: 339
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: 532
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: 540
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,096
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 11 of 11

 


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

©2003 - 2009 DaniWeb® LLC