Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
0 Endorsements
~61.9K People Reached
Favorite Forums
Favorite Tags
Member Avatar for Dave Sinkula

While not terribly difficult, first timers may not know the functions to look up and use. Here is some basic code for reading a file one line at a time. The contents of the file are printed to the stdout.

Member Avatar for 'CoffeeLike
2
61K
Member Avatar for bojomojo

Hello, If I have a text file with the format: Name = MattPhilip Age = 22 how can I use C to read from the file and fill in a structure? Thanks

Member Avatar for bojomojo
-1
139
Member Avatar for bojomojo

Hello, I have in a file some text, the area I am concerned in is: #COMMAND TRUE #COMMAND2 TRUE (anytext)1 #ENDCOMMAND I want it to be changed to #COMMAND2 TRUE 1 .. Please note that I dont want all "#ENDCOMMAND"s to be deleted, as there are some not associated with …

0
55
Member Avatar for bojomojo

I am creating a program that will have a database of schools.. Each months the user needs to add a certain data entry for all schools, like each month the user will need to input how each school scored in a monthly competition. The number of months is not fixed, …

Member Avatar for Ramy Mahrous
0
124
Member Avatar for bojomojo

I am initializing and array of objects, i need something like this: Greyhound[1].StartingPosition = pictureBox1.Location; Greyhound[2].StartingPosition = pictureBox2.Location; and so on.. but I need to make it by a loop for ( ......... ) { Greyhound[i].StartingPosition = ????????? // what should go here }

Member Avatar for PierlucSS
0
112
Member Avatar for bojomojo

Hello, I have a file with each line consisting of certain fields. Lets say I want to detect which lines have the second field equal.. For example here is the file: [CODE]XM2 N$2 N$2 GROUND GROUND nch_mac1 l=50n w=150n multi=1 nf=1 sd=140n XM1 N$12 N$2 GROUND GROUND nch_mac2 l=50n w=150n …

0
74
Member Avatar for bojomojo

Hello I need the user to input for example a time format HH:MM(AMorPM) or a complex number format: X+jY Then I want to read HH in and int and MM in another int and the same for the complex number example. I am aware I should use delimiters, but i …

Member Avatar for ArkM
0
184