Search Results

Showing results 1 to 12 of 12
Search took 0.06 seconds.
Search: Posts Made By: jascase901
Forum: C++ Nov 7th, 2009
Replies: 5
Views: 535
Posted By jascase901
here is the code


#include <fstream>
#include <iostream>
#include <cstdlib>
#include <cctype>
using namespace std;

void open_file(ifstream& fin);
Forum: C++ Nov 7th, 2009
Replies: 5
Views: 535
Posted By jascase901
Ill be away from my comp with the program for a few hours, but thanks for the answer. I spent like an hour google searching for that and found nothing.
Forum: C++ Nov 7th, 2009
Replies: 5
Views: 535
Posted By jascase901
So far, I have only read about using void functions to take on ifstreams as a parameter. Yet I want to be able to make a single function that takes a file of numbers as a parameter, and do some...
Forum: Python Mar 22nd, 2009
Replies: 2
Views: 460
Posted By jascase901
Hello python is my first language, and i have read 1 book on it and gone through a tutorial, but i still don't feel like i have a firm grasp on python. I hear the best way to master a programing...
Forum: Python Mar 6th, 2009
Replies: 1
Views: 299
Posted By jascase901
Someone told me the error already, i wrote file.write() instead of f.write().
Forum: Python Mar 6th, 2009
Replies: 1
Views: 299
Posted By jascase901
Hello i Just learned about the Exec statement, so i trying to make a flash card program that saves your cards. The way that i wanna keep the cards persistent is to save a dictionary to a text file...
Forum: Python May 20th, 2008
Replies: 2
Views: 453
Posted By jascase901
sorry mixed up on the tags

'readTextfile.py--reads and displays text files'

def opener():
#get filename:'

fname = raw_input('enter filename: ')
print
Forum: Python May 20th, 2008
Replies: 2
Views: 453
Posted By jascase901
i recently started python and i wanna learn how to implement modules in my program, but when ever i try to string modules together it says function not callable how do u make functions callable and...
Forum: Python May 11th, 2008
Replies: 6
Views: 546
Posted By jascase901
thank you so much, your fix worked perfectly
Forum: Python May 11th, 2008
Replies: 6
Views: 546
Posted By jascase901
this is the code thats suposed to tell the user to type another number if its <100 or >0
elif number>100 and number<0:
number=int(raw_input("again"))
Forum: Python May 11th, 2008
Replies: 6
Views: 546
Posted By jascase901
thank you, i have fixed most of my code now but i have 2 questions.

i fixed x+=1
elif x==1:
a=0 by changeing the elif an if. so my first question is why did it need to...
Forum: Python May 11th, 2008
Replies: 6
Views: 546
Posted By jascase901
i am trying to teach myself python using this book called, core python programing by wesley chung. one of the exersises in this book says make a text based menu application that uses more than one of...
Showing results 1 to 12 of 12

 


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

©2003 - 2009 DaniWeb® LLC