I really need the help. This is what i'm working on. The file name is "movie.dat" and currently i was able to save data into the file in this order:
[movie_code] [movie_dur] [movie_title]...
Type: Posts; User: teensicle
I really need the help. This is what i'm working on. The file name is "movie.dat" and currently i was able to save data into the file in this order:
[movie_code] [movie_dur] [movie_title]...
I have been searching through the forums and found a couple snippets of code and from that i came up with this. What i want to do is search for the specific movie code and then update the movie...
Okay so sorry i took so long to reply... I took into consideration all the possible solutions the code below works fine for what i am trying to achieve. As seemaxie said the dependent on the amount...
Im not too sure how to specific the length of the loop dependent on the string.. im guessing it's in this section i>student.stud_pass[i] but what is the correct condition?
not sure if im on the right track here but i gave it a swing
so i came up with this program compiles but it freezes after completion :
STUDENT_REC student;
int i;
char c;
so i came up with this program compiles but it freezes after completion :
STUDENT_REC student;
int i;
char c;
printf("Your new password should contain atleast 1 uppercase...
I would really appreciate if i could get some help on this. So what i want to do is pretty simply.... Or atleast so i think:(... So im accepting a string of characters from a user and i want to check...
So i got an assignment to try and write a simple ATM program which shouldn't take long however ive hit a little snag... the problem that i am experiencing is when the program executes the if...
@Commontater and @MK27 dudes you guys rock!
@MK27 and @Commontater i really get what your saying and will modify the code!
this is what i have i followed the cprogramming tutorial doesn't build though :frown:
#include <stdio.h>
#include <stdlib.h>
typedef struct {
char p_name[10];
int age;
No i've been googling for some time now and im yet to find a solution for this problem. I have a structure that has set variable that i need to store information to a file. Can someone tell me the...
If you realize that it says "different uses have different privileges" i was wonder if i could write two different C files to achieve this and depending on what password the user enter it would then...
Now i have my programming project and i have no idea where to start or how to approach this. If its possible could you guys swing by some ideas and your recommendations? The outline is below
...
Ok so i'm in my second year of university and i have my final project to finish up. So i was going through and reading, thinking of the best way to approach the situation. Basically we are required...
the reason why i constantly was clearing the screen was so that the user saw only what they were required to enter at that point
i removed them however now the results i get is totally off the name is stored perfectly, the age for the first array is stored but the 2nd age has a zero value and the calculation for the value...
ok so i decided not to be a freebie and actually try to do something on ma own :D
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
int main()
lol a freebie..... thanks much!
Well i tried doing this
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
int main()
{
char stud_name[10] [10];
Thank you.. now what if i wanted to print out all the values that i in-putted while i was in the loop
#include <stdio.h>
#include <stdlib.h>
int main()
{
Display sum of all numbers between 10 and 20 inclusive. Using a while loop.. This is what i have so far:
int main()
{
int sum; // SUM IS USED TO HOLD VALUES FROM 10 TO 20
int...
Thanks for the help i will keep you posted on my project
When do i know when to use "void" though i am yet to completely understand
Thank You! Corrections To My Code!!!
#include <conio.h>
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
int main(void)