Search Results

Showing results 1 to 7 of 7
Search took 0.01 seconds.
Search: Posts Made By: chaosatom333
Forum: C++ Mar 8th, 2008
Replies: 3
Views: 894
Posted By chaosatom333
how do make this work? You haven't declared search_word in main and haven't defined the operator for doing this
dictLoaded >> line
Forum: C Dec 8th, 2007
Replies: 8
Views: 913
Posted By chaosatom333
hi, i can't seem to a.out the program for some reason. When i type in a.out, the cursor just stays there. I think it goes in a infinite loop.
I am trying to read two text files and then putting...
Forum: C Dec 7th, 2007
Replies: 4
Views: 803
Posted By chaosatom333
yeah it works, but I also need to printf the name of the element and the symbol along with atomic numbers. How would I do that? Would i use sturctures or parallel array and switch indexes or...
Forum: C Dec 6th, 2007
Replies: 4
Views: 803
Posted By chaosatom333
Hi, i am given an array of atomic numbers, and I need to arrange them in order from 1-100 or something.

the program i wrote is this

for(fill = 0; fill < (m-1); ++fill)
{
...
Forum: C Dec 5th, 2007
Replies: 3
Views: 725
Posted By chaosatom333
if i do something like this, it messes up the output

for(ch = getc(inp); ch !=EOF; ch = getc(inp))
{
if(getc(inp) == '\n')
{
fprintf(outp,"\n%d ", i);
i++;
...
Forum: C Dec 5th, 2007
Replies: 1
Views: 1,111
Posted By chaosatom333
Hi, i merged two files into chem.out but i need to figure out how I would arrange them by atomic number and how i can eliminate the duplicates. Should I use structures?


here is the program...
Forum: C Dec 5th, 2007
Replies: 3
Views: 725
Posted By chaosatom333
Hi, I copied one file into another but couldn't figure out how I would number the lines and put a heading on chem.lis, which is the output.

here is the program i wrote so far

#include<stdio.h>...
Showing results 1 to 7 of 7

 


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

©2003 - 2009 DaniWeb® LLC