Search Results

Showing results 1 to 29 of 29
Search took 0.02 seconds.
Search: Posts Made By: shadowfire36
Forum: C++ Feb 3rd, 2009
Replies: 7
Views: 780
Posted By shadowfire36
ok i think i figured it out but how do i add "top" to my code ?


#include<iostream>
using namespace std;
struct node{
int data;
node *next;
};
//This function pushes data(node) to the...
Forum: C++ Feb 3rd, 2009
Replies: 7
Views: 780
Posted By shadowfire36
IT IS !! thats why i am asking how can this be done with out it
Forum: C++ Feb 3rd, 2009
Replies: 7
Views: 780
Posted By shadowfire36
i was giving an assignemnt to show stacks with out using the STL .
my question is is my code a correct example or not ?
and if so can some some one guide or explain to me what i did wrong or what i...
Forum: C++ Feb 2nd, 2009
Replies: 5
Views: 554
Posted By shadowfire36
im doing this example project, but i cant seem to figure out why visual studio 2008 keeps giving me error C2075-'Target of operator new()' : array initialization needs curly braces.
it says the...
Forum: C++ Jan 22nd, 2009
Replies: 9
Views: 508
Posted By shadowfire36
im trying to learning >>im just try to comprehend.. online learn is the same than in a class room (kinda suks )
Forum: C++ Jan 22nd, 2009
Replies: 9
Views: 508
Posted By shadowfire36
ok can you clarify this ( i think i understand ) so they are the same

this
int arraySize = 0
also means :
int *arraysize[10]


so if i want it in reverse i would start with the number...
Forum: C++ Jan 22nd, 2009
Replies: 9
Views: 508
Posted By shadowfire36
i was given an assignment by my prof. , but he stated that using pointer notation . the object t=of the program was to write a C++ function ReverseArray using "pointer notation" that will write out...
Forum: C++ May 16th, 2008
Replies: 1
Views: 326
Posted By shadowfire36
i got my code to finally compile but, now im getting 5 linker errors that i have no idea why im throwing them

the errors are:

football.obj : error LNK2019: unresolved external symbol "public:...
Forum: C++ May 16th, 2008
Replies: 3
Views: 407
Posted By shadowfire36
so would this be the correct syntax ?
SearchMatches(Season,Team1,Team2 ,Result ,matchesCounter,TeamName)??

or should i do this

string seasonResults;
string team1Results;
string...
Forum: C++ May 16th, 2008
Replies: 3
Views: 407
Posted By shadowfire36
well my struct is fix but i have new errors i hve never seen before :

here are the errors


football.cpp(194) : error C2664: 'void Football::SearchMatches(Match *,int,std::string)' : cannot...
Forum: C++ May 15th, 2008
Replies: 7
Views: 538
Posted By shadowfire36
ok my the power to my computer shout down when i was at work so disregard that last post

here is my new code but im getting to error code i don't seem to understand what im doing wrong

error...
Forum: C++ May 15th, 2008
Replies: 7
Views: 538
Posted By shadowfire36
o wow Thanks you !!!

but i have one other issue im tying to use memory allocation
im trying to save the content of this funtion and call it some where else in my control call so that when a...
Forum: C++ May 15th, 2008
Replies: 7
Views: 538
Posted By shadowfire36
ok i have updated this post now

error is on line 155-168 of the football.cpp
someone told me that my int Football::RunFootball() was out of scope but i wasnt sure what they meant

error...
Forum: C++ May 15th, 2008
Replies: 7
Views: 538
Posted By shadowfire36
ok i have wrote this program and been trying to break into a class called football , but i keep getting an:

error error C2228: left of '.Season' must have class/struct/union

i have tried moving...
Forum: C++ May 13th, 2008
Replies: 1
Views: 489
Posted By shadowfire36
sorry i left something out of the class reposting correctly
struct Match
{
string Season;
string Team1;
string Team2;
string Result;
};
class Sports
{
Forum: C++ May 13th, 2008
Replies: 1
Views: 489
Posted By shadowfire36
ok after somet time im now ready into breaking my code apart into 4 class Sports,NBA,NFL,MLB,

here is the original code

#include <iostream>
#include <fstream>
#include <string>

using...
Forum: C++ Mar 6th, 2008
Replies: 1
Views: 1,564
Posted By shadowfire36
i m trying to build a turn based text game but im kinda of confused on the menu's
ok here is my issue i want to have 4 menu's in my game

menuDisplay
selectMenu
fightMenu
shopMenu


now...
Forum: C++ Feb 10th, 2008
Replies: 8
Views: 963
Posted By shadowfire36
ok i have this much of my code but i cant get why the largest number to cout for section 'A'




#include <iostream>

using namespace std;
Forum: C++ Feb 10th, 2008
Replies: 8
Views: 963
Posted By shadowfire36
i think i need some sleep cause man im not even paying attention??

should i change it to an " if" statement ?
Forum: C++ Feb 10th, 2008
Replies: 8
Views: 963
Posted By shadowfire36
you say its not need my i ask why not ??? im not sure what you mean with "again" . im very new to this and hate to ask but is "again" a command function like if and do ??
should i change the do to...
Forum: C++ Feb 10th, 2008
Replies: 8
Views: 963
Posted By shadowfire36
ok i have an assignement the assignment is to make a menu
with these selection
Write a program that displays a menu with the following choices to the user.
A - Find the largest # with a...
Forum: C++ Feb 6th, 2008
Replies: 6
Views: 3,082
Posted By shadowfire36
[QUOTE=joeprogrammer;527004]>is there a similar function in C++ to excute a message box for input in a windows os ?
As strange as it might sound, it does exist:...
Forum: C++ Feb 6th, 2008
Replies: 6
Views: 3,082
Posted By shadowfire36
i have done some coding back in '99 in visual basic, and i remember there a command to excutse a message box to input data .

is there a similar function in C++ to excute a message box for input...
Forum: C++ Jan 30th, 2008
Replies: 8
Views: 1,859
Posted By shadowfire36
do they contain anything in difference ???

if i get MinGW does it need any run time libraries that i would need to get ?

cant i just use visual studio from the command line ?


is one...
Forum: C++ Jan 30th, 2008
Replies: 8
Views: 1,859
Posted By shadowfire36
ok i just got my ass chewed by my professor cause he gave us a a program to build and i used visual studio to build it .

he told me he wants his programs built in a compiler , i told him i was...
Forum: C++ Jan 30th, 2008
Replies: 12
Views: 2,516
Posted By shadowfire36
ok let explain this one more time
cause i dont think im explaining my question correctly


cout << " The ASCII value of your character: " __ " is " ____" << endl



all i...
Forum: C++ Jan 30th, 2008
Replies: 12
Views: 2,516
Posted By shadowfire36
ok let me ask 2 questions

indata >> data.txt = line
cout << " The ASCII value of your character: " __ " is " ____" << endl;





1- i know i need a static cast on this...
Forum: C++ Jan 28th, 2008
Replies: 12
Views: 2,516
Posted By shadowfire36
sorry let me explain it a little different


ok i knew what i wanted out of the code i wanted to read data from the text i wasnt sure if i had the right commands.


1-the main problem was...
Forum: C++ Jan 28th, 2008
Replies: 12
Views: 2,516
Posted By shadowfire36
this is what the assignment says :

Create a text file with a letter on the first line, and two double-digit numbers on the second line. Write a program using fstream that reads in your text file,...
Showing results 1 to 29 of 29

 


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

©2003 - 2009 DaniWeb® LLC