Search the web
Sign In
New User? Sign Up
c-prog · C/C++ Programmer's Mailing List
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

Best of Y! Groups

   Check them out and nominate your group.

Messages

  Messages Help
Advanced
Messages 65525 - 65554 of 68907   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
65525
I wrote a simple code: #include <stdio.h> #include <string.h> main() { FILE *fp = fopen ("a.txt" , "rb+"); char data[200]; fgets(data, 200 , fp); strcat(data,...
Satya Prasad
satya_prakash_prasad@...
Send Email
Feb 1, 2008
8:52 am
65526
Well this is a specific requirement and our objective is that we need to write a restart able batch that should pick from where it left processing records last...
Satya Prasad
satya_prakash_prasad@...
Send Email
Feb 1, 2008
8:54 am
65527
Yes, I agree but is it possible using a single file manipulation. The other way I understand is that I create a temp file and write modified data there or read...
Satya Prasad
satya_prakash_prasad@...
Send Email
Feb 1, 2008
9:11 am
65528
... If you have 5 million rows of data you should be using a DBMS. -- Brett ... "In the rhythm of music a secret is hidden; If I were to divulge it, it would...
Brett McCoy
smartandkewl
Offline Send Email
Feb 1, 2008
1:16 pm
65529
... You should have said this at the start. Your problem is actually quite simple. Use a secondary file and write the "record" number to the second file...
Thomas Hruska
shininglightpro
Offline Send Email
Feb 1, 2008
1:58 pm
65530
Hi. I have written a c++ program in a text editor like notepad. After writing the program, i saved the file with the extension .cpp. Now how can i compile and...
Aswin Rajamannar
aswin89_thee
Offline Send Email
Feb 2, 2008
1:19 pm
65531
... Well, you first need a compiler. And, these days, C/C++ is best learned using an IDE with a good debugger. Finding a new compiler is quite easy. c-prog...
Thomas Hruska
shininglightpro
Offline Send Email
Feb 2, 2008
1:21 pm
65532
What OS? Mickey M. Construction Partner Inc. http://www.constructionpartner.com ... From: Aswin Rajamannar <aswin89thee@...> To: c-prog@yahoogroups.com ...
Mickey Mathieson
user14312
Offline Send Email
Feb 2, 2008
1:22 pm
65533
and what compiler? Mickey M. Construction Partner Inc. http://www.constructionpartner.com ... From: Aswin Rajamannar <aswin89thee@...> To:...
Mickey Mathieson
user14312
Offline Send Email
Feb 2, 2008
1:25 pm
65534
... You can't with Notepad. Do you have a compiler, first of all? I recommend getting an IDE, which has an integrated editor, compiler and debugger (Microsoft...
Brett McCoy
smartandkewl
Offline Send Email
Feb 2, 2008
2:11 pm
65535
you should need a compiler to run your program. download a compiler from the net.. if you are beginner go for Borland C compiler.. ... [Non-text portions of...
wilson bright
rom_bright
Offline Send Email
Feb 2, 2008
3:10 pm
65536
... Please don't recommend old compilers. Borland Turbo C/C++ and the Visual Studio 6 compiler suites are old, outdated, and non-ANSI C/C++ Standards...
Thomas Hruska
shininglightpro
Offline Send Email
Feb 2, 2008
3:24 pm
65537
... BTW CodeGear (formerly Borland) Turbo C++ Explorer is not old. It was released in 2007. Mickey M. Construction Partner Inc. ...
Mickey Mathieson
user14312
Offline Send Email
Feb 2, 2008
5:52 pm
65538
... That's true... but about 99.99999999999999999999999% of the time someone has come in here saying they are trying to do this or that with Turbo C, they mean...
Brett McCoy
smartandkewl
Offline Send Email
Feb 2, 2008
8:32 pm
65539
Like nobody has seen this program before...ha I have built a program that takes in an integer and lets the user know if it is prime or not. I wrote a bool...
Jon
jonboyz71
Offline Send Email
Feb 3, 2008
3:22 am
65540
... What compiler? ... A few issues: 1) 2 is prime. Your code doesn't account for that. 2) Also, you only have to look at the first (int)sqrt(number)...
Thomas Hruska
shininglightpro
Offline Send Email
Feb 3, 2008
3:40 am
65541
But wait. I do have a compiler. I want it as an information. In some books, i've read that a c program can be written in any text editor, but should be saved...
Aswin Rajamannar
aswin89_thee
Offline Send Email
Feb 3, 2008
1:26 pm
65542
I'm new to C programming. While working with files, they say we can open and read or edit files. I can't understand the whole shit. What files can we open? My...
Aswin Rajamannar
aswin89_thee
Offline Send Email
Feb 3, 2008
1:26 pm
65543
I am using Visual C++ 2008 Express Edition. I don't get any warnings for the Break;, should I? ... the ... When ... program ... to ... numbers. ... should...
Jon
jonboyz71
Offline Send Email
Feb 3, 2008
1:26 pm
65544
... You can use any text editor to write C++ programs, but unless the editor supports calling a compiler externally (Notepad doesn't), you are out of luck. You...
Brett McCoy
smartandkewl
Offline Send Email
Feb 3, 2008
1:30 pm
65545
... You can open ANY kind of file in C and C++, text or binary. To a C program, a file is just a stream of bytes and it's how the program intereprets the bytes...
Brett McCoy
smartandkewl
Offline Send Email
Feb 3, 2008
1:49 pm
65546
... Actually, using Turbo C++ _DOES_ matter. You and your classmates should NOT be using it. It is non-ANSI Standard, extremely outdated, no one in the...
Thomas Hruska
shininglightpro
Offline Send Email
Feb 3, 2008
7:13 pm
65547
... Victor - you still around? Remember a while back I said 'bool' had issues under VC++? IIRC, 'bool' becomes some sort of weird COM object'ish thing and...
Thomas Hruska
shininglightpro
Offline Send Email
Feb 3, 2008
7:33 pm
65548
... <snip> ... This one is buggy; the loop "for (i..." goes up to "number"; however, every integer is dividable by itself, so the loop must have an end ...
Nico Heinze
nico_heinze
Offline Send Email
Feb 3, 2008
7:48 pm
65549
... Please keep the language used on this list civil and professional. You are interacting with professionals here. Your friend is wrong. A program can open,...
Thomas Hruska
shininglightpro
Offline Send Email
Feb 3, 2008
7:50 pm
65550
... <snip> I think one common miconception in such a place (it's not the first time that I stumble upon such questions) is the "we". Who is "we"? In the first...
Nico Heinze
nico_heinze
Offline Send Email
Feb 3, 2008
8:17 pm
65551
... Just try Dev C++ from Bloodshed. Investigate the console of the Dev C++ IDE and you will see that it is pretty much self contained. Also, when saving,...
Joe Ouellette
kocmotex
Offline Send Email
Feb 3, 2008
9:03 pm
65552
... Aswin; The ability to open, read from, write to, and append to files is far more important than probably what you have been exposed to with your experience...
Joe Ouellette
kocmotex
Offline Send Email
Feb 3, 2008
9:03 pm
65553
... <snip> I forgot to mention that the examples of manipulating files found in most books are fairly "cheesy". The examples most authors use are hardly...
Thomas Hruska
shininglightpro
Offline Send Email
Feb 3, 2008
9:13 pm
65554
I am currently taking C++ online. I have tried using the MinGW and the Dev-C++ compilers and I am still getting error messages. I have even had classmates...
tltstevenson5175
tltstevenson...
Offline Send Email
Feb 4, 2008
2:25 am
Messages 65525 - 65554 of 68907   Oldest  |  < Older  |  Newer >  |  Newest
Advanced
Add to My Yahoo!      XML What's This?

Copyright © 2007 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help