Forum: Networking Hardware Configuration Dec 25th, 2007 |
| Replies: 1 Views: 2,314 Is my laptop wireless G or N..?? Got my woman a laptop for xmas... now i don't know what type of router to get. Is there a way to check whether the machine supports wireless G?
This is the closest answer I got whilst... |
Forum: C++ Nov 11th, 2007 |
| Replies: 9 Views: 785 |
Forum: C++ Sep 26th, 2007 |
| Replies: 2 Views: 933 Re: Need to send output to notepad Including the <fstream> (http://www.cppreference.com/cppio/index.html) library will give ye' the tools you need to read and write to a file. Specifically, creating an object of type 'ofstream' will... |
Forum: C++ Sep 22nd, 2007 |
| Replies: 6 Views: 1,722 Re: How can i make this triangle? this triangle doesn't make sense to me.. because you start each line with 2 on the first two lines.. and then 5 on the 4th line after it has already been used on the 3rd line..
this type of... |
Forum: C++ Sep 3rd, 2007 |
| Replies: 13 Views: 1,750 |
Forum: C++ Aug 23rd, 2007 |
| Replies: 8 Views: 796 Re: c++ games ... #include<windows.h>
#include<iostream>
#include<cctype>
#include<cstdlib>
#include<ctime>
using namespace std;
class Roulette
{ |
Forum: C Apr 2nd, 2007 |
| Replies: 1 Views: 694 Re: Link-listed addressbook edit: This is in c++, so replace 'new' with 'malloc()', 'delete' with 'free', and cout/cin with printf()/fgets()
instead of creating an array of structs like contact[u],
1. create a pointer of... |
Forum: C Mar 27th, 2007 |
| Replies: 3 Views: 1,130 |
Forum: C++ Mar 25th, 2007 |
| Replies: 21 Views: 2,143 |
Forum: C++ Mar 20th, 2007 |
| Replies: 21 Views: 31,997 Re: C++ game? //Preprocessor Directives
#include<iostream>
#include<string>
#include<cstdlib>
#include<cctype>
#include<ctime>
using namespace std;
//Function Prototypes |
Forum: C Mar 4th, 2007 |
| Replies: 1 Views: 464 Simple Q: I am going through some book assignments.. and I am running into some terminology that doesn't make sense to me..
what does the author mean by, "exp # bits", "sigment # bits" and "10000.....0... |
Forum: C++ Feb 26th, 2007 |
| Replies: 5 Views: 748 Re: Libraries what compiler are ye' using?
for most IDE's like Dev CPP and MSVC++ 6.0, there is an option to, "add to project".. make sure the you are adding all 3 files to your project, then try to... |
Forum: C Feb 25th, 2007 |
| Replies: 22 Views: 3,284 Re: string manipulation one simple strategy, would be to pass the char array into your function as a reference.. therefore any manipulations you perform on the char array will affect it directly in memory.
algorithmically,... |
Forum: C Feb 24th, 2007 |
| Replies: 3 Views: 732 Re: words..2..numbers you would either have to create a lookup table or use some other kind of construct (like switch/case)... there are no standard library functions to perform the string to number conversion.
for... |
Forum: C++ Feb 20th, 2007 |
| Replies: 9 Views: 3,396 Re: 3d to 1d Array Conversion error on my part w/ overrunning the first dimension of the array instead of the last dimension.
The residual hex values are cause i think because of 'int' overflow.. here is a similar (tested)... |
Forum: C++ Feb 19th, 2007 |
| Replies: 9 Views: 3,396 Re: 3d to 1d Array Conversion Here is a small example:
//Declare a 3D array
int myarray[5][10][20];
//Populate the array
for(int i=0; i<5; i++)
for( int j=0; j<10; j++)
for(int k=0; k<20; k++) |
Forum: C++ Feb 19th, 2007 |
| Replies: 9 Views: 3,396 Re: 3d to 1d Array Conversion If you think about it, any multi-demensional array is in essence a 1D array..
If you have ever studied assembly language you would know this is true. My opinion would be to just keep your 3D... |
Forum: C++ Feb 18th, 2007 |
| Replies: 8 Views: 2,535 Re: Scanning a text file for a string I think ye' problems start here:
while (str !='\n' && thearray!="model=")
//set all values of thearray to bigarray until its end of line or "model="
{
thearray[i] =... |
Forum: C++ Feb 17th, 2007 |
| Replies: 13 Views: 3,572 Re: HELP!!! Tic-tac-toe game! here was my attempt at writing tic-tac-toe maybe it will give ye' some ideas:
http://flashdaddee.com/forum/showthread.php?t=50 |
Forum: C++ Feb 12th, 2007 |
| Replies: 2 Views: 488 |
Forum: C++ Feb 7th, 2007 |
| Replies: 4 Views: 791 |
Forum: C++ Feb 7th, 2007 |
| Replies: 10 Views: 1,337 Re: Beginner Learn the basics of windows programming http://www.winprog.org/tutorial/index.html |
Forum: C++ Feb 4th, 2007 |
| Replies: 2 Views: 2,633 Re: cout a structure in a vector Here is one easy method:
for(int i=0; i<People.size(); i++)
{
if(People[i].name == target)
{
cout << "Person Found: " << People[i].name
<< People[i].street <<... |
Forum: C++ Nov 19th, 2006 |
| Replies: 3 Views: 1,359 Roulette I need a little help calculating odds for a roulette game.. i'm not sure why someone would bet 1:1 odds.. to me, that just means you win your money back without making a profit.
also, 1:1+bet... |
Forum: C++ Nov 14th, 2006 |
| Replies: 6 Views: 1,299 |
Forum: C++ Nov 14th, 2006 |
| Replies: 6 Views: 1,299 |
Forum: C++ Nov 13th, 2006 |
| Replies: 3 Views: 1,641 Re: Using a struct array You have done everything right thus far.. the only thing you haven't done, is to provide "function definitions" for your functions.
Below your main( ), go ahead and right up what each function is... |
Forum: C++ Oct 23rd, 2006 |
| Replies: 3 Views: 1,797 Re: C++ Stream_Var.getline function According to http://www.cplusplus.com/ref/iostream/istream/getline.html, the two acceptable forms of cin.getline() are:
istream& getline (char* s, streamsize n );
istream& getline (char* s,... |
Forum: C++ Oct 23rd, 2006 |
| Replies: 7 Views: 1,653 |
Forum: C++ Oct 22nd, 2006 |
| Replies: 6 Views: 1,522 |
Forum: C Oct 19th, 2006 |
| Replies: 2 Views: 820 Re: Help what code have you attempted thus far..? where are you encountering difficulty in writing this program? |
Forum: C++ Oct 7th, 2006 |
| Replies: 3 Views: 2,023 iterator based search algorithm help I am writing a simple program.. enter first and last name and a search is performed.. and their phone number (if found) is returned.
I have used vector class iterators before a couple of... |
Forum: C++ Oct 4th, 2006 |
| Replies: 6 Views: 1,995 Re: Operator Overloading Question I have a lot of debugging work ahead of me.. but at least I can get this thing to compile. Thank you for your help with this problem.. operator overloading has always been a mystery to me.. but... |
Forum: C++ Oct 4th, 2006 |
| Replies: 6 Views: 1,995 Re: Operator Overloading Question This operator overloading business is just kicking my rear end..
#include<iostream>
#include<fstream>
#include<iomanip>
using namespace std;
struct SongInfo |
Forum: C++ Oct 4th, 2006 |
| Replies: 6 Views: 1,995 Re: Operator Overloading Question I have made the suggested changes.. yet I get the same errors relating to the number of arguments of my overloaded operators. I have worked on this code.. and have got it down to just operator... |
Forum: C++ Oct 3rd, 2006 |
| Replies: 6 Views: 1,995 Operator Overloading Question I have an operator overloading question...
I have attempted to overload the >> operator so I can
read a file directly into a "SongInfo" object, and attempted to
overload the << operator so I can... |
Forum: C++ Jun 20th, 2006 |
| Replies: 4 Views: 905 Re: arrays To get ye' started, here is how to create an array and store the first 100 multiples of a number into that array
(assuming that no number in the array exceeds the bounds of the datatype size int... |
Forum: C++ Jun 6th, 2006 |
| Replies: 6 Views: 788 Re: Help!!! Here is one idea using the post increment operator:
int a, b;
cout << "\nEnter first number: ";
cin >> a;
cout << "\nEnter second number: ";
cin >> b; |
Forum: C Apr 5th, 2006 |
| Replies: 10 Views: 2,127 Re: linked list question I think the theory behind using while loops in linked list traversal.. goes something like this:
1. check the head pointer... if(head_ptr) then x = head_ptr ;
2. now.. assign the head_ptr to... |
Forum: C Mar 23rd, 2006 |
| Replies: 4 Views: 1,335 Re: Dice program I'm not sure what ye' were trying to accomplish but I think
++array[sum-2] ;
basically does the same things as all these if statements
if (sum == 2)
array[0] = array[0] + 1;
which appear to... |