Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 20 results for
errorchecking
- Page 1
CS First Year student, help with arrays
Programming
Software Development
18 Years Ago
by Tryst
…(len,inputArray,ICAO,match); return 0; } //i left out the
errorchecking
and string2char functions //but ive tested them and they work…
Re: General Protection Exception Error Please Help!
Programming
Software Development
19 Years Ago
by jwenting
… anyway use ifstream instead of fstream for reading... Omitting all
errorchecking
, the following will read and echo lines from a textfile…
Re: General Protection Exception Error Please Help!
Programming
Software Development
19 Years Ago
by C++Newbie
… anyway use ifstream instead of fstream for reading... Omitting all
errorchecking
, the following will read and echo lines from a textfile…
Re: memory management in wndows 2000
Hardware and Software
Microsoft Windows
17 Years Ago
by xcellpro6
…-up and rely on that. Memory chips with built-in
errorchecking
typically use a method known as [B]parity [/B]to…
Re: one loop to perform 2 things
Programming
Software Development
16 Years Ago
by Nick Evan
…", total, average; [/CODE] You'll have to add some
errorchecking
for the input etc, but I hope this helps.
Re: one loop to perform 2 things
Programming
Software Development
16 Years Ago
by WaltP
…", total, average; [/CODE] You'll have to add some
errorchecking
for the input etc, but I hope this helps. [/QUOTE…
Re: Command Line Arguement, can't get it to read in an int
Programming
Software Development
15 Years Ago
by jephthah
…. now the place you're going with all your bulletproof
errorchecking
is just going to confuse the guy until he at…
Re: file handling problem
Programming
Software Development
15 Years Ago
by Nick Evan
…";[/ICODE] remember: you can (almost) never put to much
errorchecking
in a program!
Re: file handling problem
Programming
Software Development
15 Years Ago
by gangsta1903
…";[/ICODE] remember: you can (almost) never put to much
errorchecking
in a program![/QUOTE] ok,I put those checkings but…
Re: istream to ostream?
Programming
Software Development
14 Years Ago
by Nick Evan
or maybe even: [code=cplusplus] int main(){ ifstream in("in.txt"); ofstream out("out.txt"); string str = ""; while (in >> str) out << str << "-"; }[/code] No
errorchecking
, but it's to get the basic idea
Re: The image cannot be displayed because it contains errors
Programming
Web Development
12 Years Ago
by pzuurveen
… my prodjects it also conferts to .jpg and does some
errorchecking
you have to modify it to fit your code your…
Re: Kicks back after login...
Programming
Web Development
10 Years Ago
by L-D
… "../style.php"; $ID = $_POST['Adminid']; $Password = $_POST['Password']; //
errorchecking
first: if (empty($Password)) { echo "Password field is empty…
Re: Kicks back after login...
Programming
Web Development
10 Years Ago
by broj1
… "../style.php"; $ID = $_POST['Adminid']; $Password = $_POST['Password']; //
errorchecking
first: if (empty($Password)) { echo "Password field is empty…
Re: CS First Year student, help with arrays
Programming
Software Development
18 Years Ago
by Tryst
ok, my latest attempt at the last for loop looks like this i moved the enum from the top to inside the last function [code]void decipher(int len, char inputArray[], const string ICAO[]) { enum letters {A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, R, S, T, U, V, W, X, Y, Z}; letters match; int i; for (i = 0; i < len; i++) { do …
Re: CS First Year student, help with arrays
Programming
Software Development
18 Years Ago
by WolfPack
[code]int len = 0;[/code] Anything that uses [CODE]len[/CODE] wont work while it is 0. [CODE] char inputArray[len]; string2char(input, inputArray, len); errorCheck(inputArray, input, len, match); decipher(len,inputArray,ICAO,match); [/CODE] [code]string ICAO[25] = {"Alpha", "Bravo", "Charlie", &…
Re: CS First Year student, help with arrays
Programming
Software Development
18 Years Ago
by Tryst
thanks for the reply wolf, i dont quite understand why it wont work with len=0, i only have len =0 for a short time, once the string is passed to a character array len=#of elements in array. Good eye noticing that E and F were backwards. Did you look at my latest attempt at the for loop. My problem seems to be in going from the enum letter …
Re: CS First Year student, help with arrays
Programming
Software Development
18 Years Ago
by WolfPack
Made some modifications to your program. [CODE]enum letters {[COLOR=red]A = 'A'[/COLOR], B, C, D, E, F, G, H ,I, J, K, L, M, N, O, P, R ,Q, S, T, U, V, W, X, Y, Z }; [/CODE]without this the value of A will be zero not ascii value of 'A' [CODE] string ICAO[[COLOR=red]26[/COLOR]] = {"Alpha", "Bravo", "Charlie", &…
Re: CS First Year student, help with arrays
Programming
Software Development
18 Years Ago
by WolfPack
oops double postings. Sowwieee. :o
Re: CS First Year student, help with arrays
Programming
Software Development
18 Years Ago
by HyperEngineer
Tryst, Maybe the string2char() call should include the reference operator & for len: string2char(input, inputArray, &len);
Re: CS First Year student, help with arrays
Programming
Software Development
18 Years Ago
by Jakester
So what was the finally Program on this what should it look like??? curious to know..
Search
Search
Forum Categories
Hardware/Software
Programming
Digital Media
Community Center
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Meet People
Forums
Top Members
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2024 DaniWeb® LLC