Search:

Type: Posts; User: Structure

Page 1 of 14 1 2 3 4

Search: Search took 0.01 seconds; generated 8 minute(s) ago.

  1. Replies
    1
    Views
    89

    int main( void )...

    <stdio.h, stdlib.h, string.h>

    int main( void ) {

    char *string = "Line: "

    for (int x=0; x<10; x++) {

    ink [s]string [i]x "\n"
  2. #include #define ARRAY_ROW 3 #define...

    #include <stdio.h>
    #define ARRAY_ROW 3
    #define ARRAY_COL 3

    void WriteArray(int piData[ARRAY_ROW][ARRAY_COL]) {
    for(int iRow = 0; iRow<ARRAY_ROW; iRow++) {
    for(int iCol = 0;...
  3. Replies
    1
    Views
    89

    dragon compiler

    Dragon Compiler to .c for linux



    <stdio.h>

    @{
    char *world = "World"
    ink "Hello " [s]world
    }
  4. #include "stdio.h" int main (int argc, char...

    #include "stdio.h"

    int main (int argc, char *argv[]) {

    char *webTitle = "Web Site";

    printf( "<!DOCTYPE html> \n" );
    printf( "<html lang='en-us'> \n" );
    printf(...
  5. Replies
    2
    Views
    142

    #include int i, p; char letter_a...

    #include <stdio.h>

    int i, p;
    char letter_a = 'X';

    int main (void) {

    int start = 5, finish = 15;

    for (i = start; i <= finish; ++i) {
  6. Replies
    5
    Views
    245

    fp2 = fopen( "con2.txt", "a" );

    fp2 = fopen( "con2.txt", "a" );
  7. Replies
    4
    Views
    262

    #include #define maxSize 64 int...

    #include <stdio.h>

    #define maxSize 64

    int number[maxSize];

    void display() {
    for (int i=0; i<maxSize; i++) {
    if (number[i] != 0) {
    printf( "%i, ", number[i] );
  8. Replies
    7
    Views
    516

    #include int main() { int...

    #include <stdio.h>

    int main() {

    int cansRequired = 0;
    float height = 0, area = 0;
    float length = 0, width = 0;
    float litersNeeded = 0.0;

    float literCovers = 150;
  9. Replies
    5
    Views
    437

    #include #include int...

    #include <stdio.h>
    #include <string.h>

    int revstrcmp(char *string1, char *string2 ) {
    if (strlen(string1) != strlen(string2)) return 0;
    for (int i=strlen(string1); i>0; i--) {
    ...
  10. Replies
    2
    Views
    486

    #include #include void...

    #include <stdio.h>
    #include <stdlib.h>

    void write_report(int *num_set);

    int main() {
    int num_set[101] = {0};

    for (int i = 0; i < 101; i++) {
    num_set[i] = i;
  11. Thread: DD to DMS

    by Structure
    Replies
    5
    Views
    455

    #include double DD = 0.0, seconds,...

    #include <stdio.h>


    double DD = 0.0, seconds, remain ;
    int degrees = 0, minutes = 0;


    int main() {

    DD = 13.5423;
  12. #include #include char...

    #include <stdio.h>
    #include <string.h>

    char gene[128][256], genecount = 0;

    void splitgenes( char *string ) {
    int which = 0, count = 0;
    for (int i=0; i<strlen(string);i++) {
    if (...
  13. Replies
    2
    Views
    374

    #include #include ...

    #include <stdio.h>
    #include <string.h>

    struct record
    {
    char name[30], lat_dir[30], lon_dir[30];//declare city name as name
    int pop; //declare...
  14. Replies
    4
    Views
    846

    GLEW (http://glew.sourceforge.net/install.html)...

    GLEW && GLFW
  15. int stringLength(char *string) { int i = 0;...

    int stringLength(char *string) {
    int i = 0;
    while (string[i] != '\0') i++;
    return i;
    };
  16. Card Game { War }

    #include <stdio.h>
    #include <stdlib.h>
    #include <string.h>
    #include <time.h>

    char CARD[52][128] = {
    "AH","AC","AS","AD","2H","2C","2S","2D",
    "3H","3C","3S","3D","4H","4C","4S","4D",
    ...
  17. #include #include #include...

    #include <stdio.h>
    #include <stdlib.h>
    #include <time.h>

    char CARD[52][128] = {
    "1H","1C","1S","1D","2H","2C","2S","2D",
    "3H","3C","3S","3D","4H","4C","4S","4D",
    ...
  18. Replies
    4
    Views
    750

    Debug

    line 98||99 else with no open bracket {
    line 99 line not ended with semicolon ;




    }
    else
    printf("PLEASE ENTER A CORRECT PIN NUMBER")
  19. Replies
    4
    Views
    859

    #include int value = 0 ; void...

    #include <stdio.h>

    int value = 0 ;

    void printValue() {
    if (value) printf( "TRUE" );
    if (!value) printf( "FALSE" );
    printf( "\n" );
    }
  20. Replies
    9
    Views
    1,390

    16304

    16304
  21. Replies
    17
    Views
    1,596

    "There are a few indentation habits that you...

    "There are a few indentation habits that you should learn to do right away, and they should be done every time you write code."

    Indenting C Programs


    C Tutorial - Tutorialspoint
    Installing...
  22. Replies
    9
    Views
    1,390

    #include #include #include...

    #include <stdio.h>
    #include <stdlib.h>
    #include <string.h>

    #define stringSize 512

    void loopText( char *inputString );

    int main( int argc, char *argv[] ) {
  23. C Operator Precedence - cppreference.com...

    C Operator Precedence - cppreference.com
  24. Replies
    2
    Views
    432

    difference = ( open_time - close_time ) ;

    difference = ( open_time - close_time ) ;
  25. Replies
    6
    Views
    1,118

    #include #include ...

    #include <stdio.h>
    #include <string.h>

    #define true 1
    #define false 0

    int i, j, x, y, c, r, isOctal = false ;
    char currentChar, octalDelim[1024] ;
    float totalValue = 0.0 ;
Results 1 to 25 of 343
Page 1 of 14 1 2 3 4