Search:

Type: Posts; User: bld

Search: Search took 0.00 seconds.

  1. Replies
    3
    Views
    4,617

    Measuring the length of a string with a for loop

    Hey!
    So I have a simple program that measures the length of a string using a for loop.



    #include <stdio.h>

    int main(void) {
    unsigned i;
    char str[16] = "ABBA";
  2. Replies
    3
    Views
    4,874

    I'm sorry for the delayed reply. Anyways, here it...

    I'm sorry for the delayed reply. Anyways, here it is!



    static Node *getLast(Node *_head) {
    Node *i = NULL;


    for (i = _head; i != NULL; i = i->next);
  3. Replies
    3
    Views
    4,874

    Inserting a new node at the end of a linked-list

    Hi everyone!

    I'm trying to write a program that lets the user append nodes at the end of a linked list. It kinda works but the main problem is that it doesn't actually create any new nodes later...
  4. Replies
    4
    Views
    4,763

    Well, what about the basics? Is it easier to...

    Well, what about the basics? Is it easier to understand the basics of C or is it easier to understand the basics of C++? The usual stuff - variables, loops etc.
  5. Replies
    4
    Views
    4,763

    Is C easier than C++?

    Hello,
    I'm completely new to C programming and I was wondering how much easier is to learn C over C++. I want to learn these languages as a hobby and I don't plan to use them for anything too...
Results 1 to 5 of 5