Search:

Type: Posts; User: bld

Search: Search took 0.01 seconds.

  1. 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. 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. 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
    1,059

    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
    1,059

    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