Beginners (Page 111)

mytxt.dat, mytxt.bin
I pretty much know of text files and use them oftenly, my question is based on a file I just came ac...
[7 replies] Last: Thank you very much for that n your time too, I appreciate (by andy1992)
by rich1
Spam filter
Hello guys. Assume you are creating spam filter. You are given some training emails (text files...
[no replies]
by hanest
output data to txt file
I am using the trapezium rule to approximate an integral, i want to output the data to a txt file so...
[2 replies] Last: thanks a lot (by hanest)
C verify input
Hello, Need to make it so that if a RATIONAL number is entered it returns 1 and if a letter/nothin...
[1 reply] : Thought % f was for float type. Aceix. (by Aceix)
by amna03
new in programming
can anyone help me this question? 2- Write a program that populates an integer array of size 50 wit...
[1 reply] : it helps. Aceix. (by Aceix)
by vxk
different result for allocated uninitialized int*
The following 2 different codes are giving different results even though the result has nothing to d...
[6 replies] Last: Yes, except for: std::vector<int> v2(); // empty vector declares f... (by JLBorges)
read nuknow row file in to array
what is the syntax of reading one column unknown rows numbers and make into array???
[1 reply] : you cannot (directly) dynamically allocate an array at run time. The s... (by Esslercuffi)
Stuck in loop when value over int is entered
When any value over int is entered (including letters and decimal numbers) the program gets stuck in...
[3 replies] Last: Fixed it with this code thanks to someones post on yahoo answers, I al... (by Finnian)
Basic inventory problems
I am having some unexpected trouble with a game I'm working on. Basically I have a function with a...
[7 replies] Last: Nevermind i solved it. I changed: if(flag == 0) { } else { } ... (by Funkist)
Reading in basic C File I/O help
Hello everyone. Im fairly new to programming and could really use some help. 48604394 100.00 63.9...
[1 reply] : I would read the first element in, and throw the rest into a variable ... (by mobotus)
by ANouf
please help
i have a qestion and i have just one day to answer it ,so i really need your help.. here is it ...
[11 replies] Last: change: cout<<"welcome the tairn ticket cost calculator,\nHow old are... (by Funkist)
Help with switch statements inside while a loop
Trying to write a program that can calculate the volume, surface area, or "girth" of a box. I want t...
[4 replies] Last: Thank you so much for the help. :) (by JackHawk)
Text file not read properly
I am reading string from a line in a text file and for some reason the the code will not read the wh...
[6 replies] Last: Then empty the buffer into the vector right after the loop has ended. ... (by Aceix)
basic input, ouput and stream operations
I have to ahcieve the following : 1) my program gets called with input looking like this : 15497...
[no replies]
just a question?
hey guys ive been doing this for an hour now this is a decimal to binary converter that ive been wor...
[1 reply] : You could start with a really big power of 2. Something like 2^15. T... (by kevinkjt2000)
by Phaxen
Generating random integers, calculate the square root, calculate the average
Write a program that will do the following steps: - generate 2 random integer numbers between 0 and...
[10 replies] Last: Very close. Line 13: random1 and random2 is actually a boolean expr... (by dhayden)
by HelenI
Can I put an IF statement in an For statement ? How do I do it?
[2 replies] Last: thanks (by HelenI)
how to call my function
i am writing my code with ask for weight and height once enter the W and H I have to call my void ca...
[5 replies] Last: Oh! Good catch! Sorry about that. (by dhayden)
Can someone please explain this simple code?
Write your question here. int m=12345; while(m>0) { d=m%10; cout<<"d="<<d; m/=10; cout<<"...
[3 replies] Last: Sorry it was my mistake. M is never 5. :( (by Al Biruni)
Pages: 1... 109110111112
  Archived months: [oct2014]

Cannot post in this page. To post a new message, go to the first page.