Search:

Type: Posts; User: mblue

Search: Search took 0.01 seconds.

  1. Replies
    8
    Views
    14,420

    Ok, i understand that i made a function that...

    Ok, i understand that i made a function that takes a char as argument and im trying to use it on a string.That wont work.
    What should i do now?Modify the function so that it takes a string as...
  2. Replies
    8
    Views
    14,420

    Counting the words in a string C++

    #include <iostream>
    #include <string>
    using namespace std;

    int wordcount(char *str){
    int i=0;
    int count=0;
    while(&str[i] != "\0"){
    if(&str[i] == "\t"){
    count++;}
  3. Replies
    5
    Views
    26,509

    a to the power b (in C)

    Hello ,this is my first post here,so please excuse me if i broke any rules, or i posted in a wrong section.

    I have this homework for school:we have to come up with a program that transforms a...
Results 1 to 3 of 4