Search:
Type: Posts; User: quietcoder
Search:
Search took 0.08 seconds.
-
August 8th, 2002, 02:18 PM
Thank you Federal102 That worked perfectly.
*quietcoder jumps out chair overjoyed. Then sits down and fishes the program with a giant smile* :D
Thanks to everyone for your replies, time, and...
-
August 8th, 2002, 02:56 AM
I thank you Japha
I do belive your on the right track. There may need to be a loop that checks to see if its reading a charicter from the "word" and adding that charicter to another string[80]...
-
August 8th, 2002, 01:47 AM
although getline(textbeforeword, 80, '-') is almost there the space before and after the dash needs to be included so it will get all the text in the lines below until it reaches " - " and not stop...
-
August 7th, 2002, 11:41 PM
this is what I tried and failed with getline.
#include <fstream.h>
int main()
{
ifstream fin("test.txt");
int maxbuf = 80;
char userinput[maxbuf];
char textbeforeword[maxbuf];
char...
-
August 7th, 2002, 09:37 PM
sorry about the wording. Well, the attempt here is to use the variable that the user input say " - " spaces included and get the text from a file such as 'test.txt' wich contains say, "Part#36832 -...
-
August 7th, 2002, 12:43 PM
I'm using Dev-C++ 4
what I'm trying to do is get a line at a time first for the text that comes
before a word/string that the user inputs, that will usually begin with a
space. Second for the...
-
July 16th, 2002, 02:06 AM
i'm using Dev-C++ 4.
it will compile and i can run the program, however the bmp is not viewable in the preview app. You can open the bmp file in paint.
although its not the intended output for...
-
:eek: ignore this post. no modification was needed as it was already set up to accept integers for r, g, b, w, and h, i am switching from the case statement to an if for the text menu. that should...
-
i'm using Dev-C++ 4
any help in resolving these errors is very much appreciated
1st error: 285 txt2bmp.cpp
case label `'n'' within scope of cleanup or variable array
2nd error: 285...
-
June 26th, 2002, 11:22 AM
well it almost worked. except i don't have an stdafx.h file. at first compile there was only one error that the stdafx.h file was not found, after remarking that line out it produced 31 errors. The...
-
June 26th, 2002, 03:25 AM
I'm using Dev-C++ 4.
question one: How do I create a DIB bitmap in memory?
question two: How do I save it to the hard drive?
-
June 16th, 2002, 01:57 AM
I'm using Dev-C++ 4. I've been looking for a tutorial that explains how to create, write to, and save a DIB bitmap. When said write to it I meant that the program would write to it and not the user....
-
June 10th, 2002, 09:37 AM
Application Programming Interface
-
what im asking is how can i detect the number of charaters in a row of the same character in a text file? is there a function or somthing that checks that?
-
well what i ment was how many characters in a row of the same character.
starting with this text in a file
aababbbaaabbbbaaaabbbbbabbbb
user input
what character do you...
-
im using dev-c++
how can detect if there are (user input) x number of characters in a row, in a text file?
current partaning code
# include <fstream.h>
void main()
{
ofstream fout;
...
|
Click Here to Expand Forum to Full Width
|