Search Result

Collapse
5 results in 0.0014 seconds.
Keywords
Members
Tags
c language
  •  

  • davemc617
    started a topic Help with a Triangle Pattern in C language
    in C

    Help with a Triangle Pattern in C language

    Hi there; i'm a newbie when it comes to everything coding, and I have an assignment due tomorrow. The assignment is to code a triangle that begins with an '&' in the leftmost position of EVERY line, and in the case of line 1 the remaining 49 spots of the string will remain black. In the case of the remaining lines (2-32), I must print a '&' if the position above it on the previous line and the position above it and to the left of the previous...
    See more | Go to post

  • lingjun
    started a topic "parameter name omitted" error message?
    in C

    "parameter name omitted" error message?

    Hi,
    I am having problems with this program. I keep on getting the following error messages:


    testing.c: In function `next_month':
    testing.c:25: error: parameter name omitted
    testing.c:27: error: syntax error before "mnth"

    My code is:
    Code:
    #include <stdio.h>
    
    enum month {jan=0, feb, mar, apr, may, jun, jul, aug, sep, oct, nov, dec};
    
    typedef
    ...
    See more | Go to post

  • How to recieve a jpg from server using socket programming?

    I need a sample code to start a program that can receive a jpeg file from server using socket programming. Any code or reference is appreciated.
    See more | Go to post

  • abrown07
    started a topic How to use an exponent?
    in C

    How to use an exponent?

    Another noob question.
    How do i write out an exponent in my C code.

    I want to say

    Population= N*exponent(r)
    See more | Go to post

  • syntax error before { line 29 and syntax error before } line 45? gcc mac.

    Code:
    #include<stdio.h>
    int main(void)
    
    {
    	
    	double Yeild, Heads, Seedhead, Size, unit;
    		
    		printf("Please enter 1 for US customary Units or 2 for metric units: ");
    		scanf("%lf", &unit);
    		if(unit=1) 
    		{
    		
    		printf("Please give the number of heads per square foot: ");
    		scanf("%lf", &Heads);
    ...
    See more | Go to post
    Last edited by Banfa; Feb 25 '10, 12:15 AM. Reason: Added [code] ... [/code] tags
Working...