Search:

Type: Posts; User: Structure

Page 1 of 11 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    5
    Views
    175

    if (largest < array[i]) largest = array[i];...

    if (largest < array[i]) largest = array[i];
    [/FONT][/COLOR]
  2. C Programming/math.h/sqrt - Wikibooks, open books...

    C Programming/math.h/sqrt - Wikibooks, open books for an open world
  3. Replies
    6
    Views
    174

    #include int main(void) { ...

    #include<stdio.h>

    int main(void) {
    printf("Enter Size of string \n");

    int size;
    scanf("%d",&size);
    char string[size];

    printf(" Size of string : %d \n", size);
  4. Replies
    5
    Views
    213

    include #include void...

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

    void addieren();
    void menue();
    void get();
    void rechenOperator(char rOperator);

    int main() {
    menue(); get();
  5. #include #include char...

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

    char buffer[128] ;

    #define def(i) gcvt (i, 8, buffer) ;

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

    int a = 10 ;
  6. plex.c: #include #include...

    plex.c:


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

    struct numberType {
    int whole ;
  7. #include int main(void) { ...

    #include <stdio.h>

    int main(void) {

    int i, j, k;

    for ( i = 1; i < 9999; i++ ) {

    k = 0;
  8. printf("%.0f",floatNumber); This will not change...

    printf("%.0f",floatNumber);
    This will not change the number but will cut of the all numbers after decimal point when outputting.
  9. Replies
    4
    Views
    186

    It is similar to including the dll within the...

    It is similar to including the dll within the executable instead of outside.
  10. Replies
    3
    Views
    165

    What if the return value is set to a value other...

    What if the return value is set to a value other than 0 or 1 in the main function in C? - Quora
  11. Replies
    1
    Views
    336

    Project Neural Network.... struct dendrites...

    Project Neural Network....


    struct dendrites {
    int toIndex;
    float weight;
    };
    struct neurons {
    float value;
    struct dendrites axon[MAX_DENDRITES];
  12. Replies
    4
    Views
    220

    create.c: #include #include...

    create.c:


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

    #define OPEN '~'
    #define CLOSE '~'
    #define MAX_DEPTH 10
    #define MAX_SIZE 128
  13. Replies
    4
    Views
    220

    You could create an executable that imports the...

    You could create an executable that imports the data and prints out a new file. using some sort of tag for when it gets injected.
  14. Replies
    3
    Views
    784

    Although i am familiar with forms I have never...

    Although i am familiar with forms I have never programmed in c#, but i would first check if celk is a multiline textbox.

    This might help...
    File.ReadAllText Method (System.IO) | Microsoft Docs
  15. Replies
    2
    Views
    142

    Ha, i noticed that as well. I thought it was...

    Ha, i noticed that as well. I thought it was funny so i kept it.
    I'm weird like that.


    Not sure how this is "messy".


    also slows it down i bet. I should declare the variable first and just...
  16. Replies
    2
    Views
    142

    Nested Parsing

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

    #define OPEN '{'
    #define CLOSE '}'
    #define MAX_DEPTH 10
    #define MAX_SIZE 128

    char results[MAX_DEPTH][MAX_SIZE];
    int lock[MAX_DEPTH];
  17. This might help... int isPalindrome(char...

    This might help...


    int isPalindrome(char *string) {
    int retValue = 1;
    int first = 0, last = (strlen(string)-1);

    if (string[first] == string[last]) {
    for (int i=0;...
  18. Replies
    15
    Views
    378

    I can agree with this, as long as you come from a...

    I can agree with this, as long as you come from a knowledgeable perspective we will have no problems. Like i said i prefer to save index 0 for defining the array data or just to have a tmp value....
  19. Thread: To Hodor

    by Structure
    Replies
    7
    Views
    220

    C Basics...

    C Basics
  20. Replies
    15
    Views
    378

    Sometimes i save index 0 for data defining what...

    Sometimes i save index 0 for data defining what is in the array or anything else just to have a space.
  21. Replies
    15
    Views
    378

    sure, that is because i started with one because...

    sure, that is because i started with one because why not? lol

    morse.h


    #define MORSES 37
    #define MORSEM 8

    struct alphabet {
    char letters[MORSEM];
  22. Replies
    15
    Views
    378

    char morseToChar(char *string) { for (int...

    char morseToChar(char *string) {
    for (int i=1; i<37; i++) {
    if (strcmp(l[i].lettersMorse, string) == 0) {
    return l[i].letters[0];
    };
    };
    };


    Just because...
  23. Replies
    33
    Views
    720

    There was a simple set of rules, and the code...

    There was a simple set of rules, and the code worked within that constraint. I did not feel the need to make it more complex as it was not necessary and should be left to the developer to expand the...
  24. Replies
    15
    Views
    378

    15983 The actual code i wrote works fine. I...

    15983


    The actual code i wrote works fine.
    I think you are doing it wrong.

    for one thing...


    fyi: I see where you used the function wrong. Do you ?
  25. Replies
    15
    Views
    378

    char line[MAX_STRING_SIZE]; FILE* fp =...

    char line[MAX_STRING_SIZE];
    FILE* fp = fopen("encoded.txt", "r");
    while (fgets(line, MAX_STRING_SIZE, fp)) decode(line);
    fclose(fp);
Results 1 to 25 of 275
Page 1 of 11 1 2 3 4