iccaros
Linux Experts-
Content Count
1292 -
Joined
-
Last visited
Content Type
Profiles
Forums
Calendar
Everything posted by iccaros
-
try this I removed your end of lines (EOL)which removed the need for triple quotes which I think was changing your format of out put by putting in 3 spaces (one for each quote). Hint if you are typing into one print statment do not hit enter. def instructions(): print "\n\n\tWelcome to the game of tic-tac-toe\n\t--a game of man against machine--\n\nyou first need to choose to go first or second.\nIf you choose to go first you will be X's.\nIf you choose to go second you will be O's.\nyou will choose your 'move' on the board by using the following key.`\n\n`" here is my output steves-po
-
Microsoft will never see your linux partiton for two reasons, one microsoft does not want you to dual boot with another OS and two they did not include any drivers. Linux includes drivers for Windows and Mac, BSD ... so its by far not Linux's fault.. you can call Microsoft and ask what to do, there are a few ext/reiser drivers for windows if you search google but most are poorly written, if you must share between them create a fat partition that both can read and write to. maybe Microsoft will become unaragent and learn that they are not the only OS in the world. This is just one more weeknes
-
so It works now or are you still haveing problems.
-
I was just kidding(maybe you are also), I was just trying to be funny. I was also proud of my infantile game, so I was looking for any reason to post it :-) As for playing it, if you have python installed on your windows computer it should play as is. I know there is a way to make a executable that will allow you to play it even if you do not have python installed. I will check into that. <{POST_SNAPBACK}> good Job ... you can also make gui's with python.. which would make ht egame less prone to error as they could pick a number.. see this site for hwo easy it is.. tk is ugly but is
-
vmware 3 had a lot of network and com related problesm.. they are up to 5 now.. and they still have some com port issues.. na upgrade may fix it..
-
you can always make your dad feel better by making ht edesktop look like winders... FWM95 does a good job of this.. can you tell the diffrence in the VMWARE windows running windows 2000 and FWM95 main windows? That is one nice things about Linux is it can look like anything..
-
your hard drives are fine. Ubuntu should recognize your modem. if not lets cross that bridge when you get there. as for loading windows drivers. thats fine.. it does not effect what Linux will do . rules for dual booting. load windows first. use a live CD like knoppix to create partitions on the second drive xhost + sudo su qtparted this will start a partitions tool "like" partition magic.
-
so It just uses c headers in its inport statments? I'm confused. .. but I have been known to be wrong..
-
I also recomend picking up a book on C.. (not c++ unless you also what ot learn that) as Python is kind of a scripting version of C. you will find that you can probaly learn two languages at the same time since most of the same code will run on both. like I am doing with C++ and javascript.
-
at the python web site is a compleate beginners tutorial, and seveal pdf books. I have a few Python books but ended up using the web site more.
-
what is in /etc/resolv.conf also what does /etc/nsswitch.conf look like at /etc/nsswitch.conf here is mine # /etc/nsswitch.conf: # $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/nsswitch.conf,v 1.4 2002/11/18 19:39:22 azarah Exp $ passwd: compat shadow: compat group: compat # passwd: db files nis # shadow: db files nis # group: db files nis hosts: files dns networks: files dns services: db files protocols: db files rpc: db files ethers: db files netmasks: files netgroup: files bootparams: files automount: files aliases:
-
I have been gong over hte guid.. now my brain herts.. I have lots to learn.. but have one more c++ calss before they let me take jave ... hmm wite once run everywere.... well everywhere with a VM that is..
-
so in either case its looking that it did not find anthing contained in string punct.. I'll re-read the string and cctype funtions with this explanation .. see if I can make better sence.. I'll also try your method and see if I can play with it.. thanks.. as to not compiling.. for school we have to use VC++ V6 introductory edition version. so its old..
-
is that VMWare.?
-
ok here is my final project usign the string funtions. plus I found a search code I am not sure what it does.. and some explanation would be helpful here is the program //extra credit #include<iostream> #include<cctype> #include<string> using namespace std; //function prototypes void clear_screen(); string Check (const string& ); string make_lower(const string& ); string check_Punctuation(const string& , const string& ); //main function int main() { //local varables char LineToCheck[255]; string TestInput,SetToTest; clear_screen(); //get i
-
jcl, that captures the first word until the first space.. my problem with that is I need to capture and entire line.. strip out spaces, puctuation and case and see it its the same forwared as it is backwards.. the only ohte rrequirment is I must use cin.get(); so now the question.. if I put the input in to a Char first, then move everything but spaces and puncuation into the string I should be half way there right? I am assuming this is putting out the string twice.. once forward (rbegin) and agian (rend) I'll go look up the string class so I understand more.. thanks
-
to add I can see the output of CheckHolder if I add a for loop for (int x = 0; x <= SizeOfChar; x++) cout << CheckHolder[x]; cout << endl; this is not the a good soultion as I must newt strip out any spaces and puntuation, then make everything lowercase for comparison.. I don't need these answers .. as I need to learn to do them and I can only learn with trial and error.. but this char problem is makeing me mad.. (do I need to read it into a string?)
-
ok I'm having a problem with the following.. the varable CheckHolder is not putting anything out.. it should be a backwords output of LineToCheck and I put some Cout lines to see what it is during processing and it seams to work untill the last line I get blank for CheckHolder #include<iostream> #include <cctype> #include <string> using namespace std; //function prototypes //void clear_screen(); //void check(const char); //main function int main() { //local varables char LineToCheck[255]; char CheckHolder[255]; int SizeOfChar=0, y = 0;
-
look fro a program called KPPP.. if you can't find it.. go to a command line and type it in.. I am assuming your runing KDE.. this may help http://www.ubuntulinux.org/wiki/DialupModemHowto
-
Speedstream 5200 Adsl Usb Modem And Knoppix 3.6
iccaros replied to TheTerrorist_75's topic in Linux & Unix
can you use the Ethernetside.. Point to point over ethernet should not matter if its USB or Ehternet connection.. knoppix has PPoE on the menu .. you can set it up. I think it under internet.. but may be settings.. I'll have to boot to see. -
ya I noticed that.. after I posted.. and tested.. I have lots to learn.. (for a second I thought I was getting somewhere) "If SalesDump() is called before any records have been stored to the data files, the input operation" the only way I know to fix that is to force information into the file first... I am still working on this.. as I see this as a great way to do the Adventure game talked about before.. I'll have some more question.
-
I was told the followng code has a lot of logical error in it... I know of some spelling errors, adn some messy ways of doing things like cout << Poll[x-1] + 99; insted of cout << Poll[x] + 98; but I don't feel that is a logical error, as its logical , just not well written I'm posting thuis to get other openions.. //csi 245 C++ //William S. Huskey //A way overboard version of assinment //header files #include <iostream> #include <fstream> #include <cstdlib> #include <iomanip> //declare name space using namespace std; //Function Prototype // needs t
-
now that you discovered the secrect.. you can never tell
-
so in the second one you took out line 14 examplefile.close(); and it still workded (I thought I had taken it out before..) I guess it does not matter since I am putting them in the same program and will read a write so I have to close the file before reading..