User Profile

Collapse

Profile Sidebar

Collapse
armelle22
armelle22
Last Activity: Oct 10 '12, 06:43 AM
Joined: Aug 12 '12
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • armelle22
    replied to Help please: "Declaration not allowed here"
    in C
    Such as... "Function call missing )" even thou ) is properly placed there.. "'res2 and res1 is assigned a value that is never used" even thou, as you can see, I used it...
    See more | Go to post

    Leave a comment:


  • armelle22
    started a topic Help please: "Declaration not allowed here"
    in C

    Help please: "Declaration not allowed here"

    Code:
    #includ<stdio.h>
    #include<conio.h>
    
    void main()
    {
    
    clrscr();
    int one, five, ten, res1, res_1, res_2, res_3;
    float two_fve, res_4, res2;
    
    printf("\n\t\tMoney Denomination!");
    printf("\n\nEnter number of coins per value");
    printf("\n\nP10 coin");
    scanf("%d",&ten);
    printf("\nP5 coin:");
    ...
    See more | Go to post

  • armelle22
    replied to Error "Syntax in function main"-thing
    in C
    Uhmn.. so, what statement should I add or remove to make that error disappear?
    See more | Go to post

    Leave a comment:


  • armelle22
    started a topic Error "Syntax in function main"-thing
    in C

    Error "Syntax in function main"-thing

    Seriously, me and my stupid logic can't get rid of that syntax thing... My friend once fixed it but it reappeared when I ran it at my PC

    Code:
    #include<stdio.h>
    #include<conio.h>
    #include<stdlib.h>
    #include<time.h>
    
    void main()
    {
    srand(time(NULL));
    clrscr();
    int you, comp;
    randomize();comp=rand()%3+1;
    printf("Jank'n Poy");
    ...
    See more | Go to post
No activity results to display
Show More
Working...