Search:

Type: Posts; User: Dan17

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. Replies
    3
    Views
    2,529

    Oh sorry, the problem is that it seems to think...

    Oh sorry, the problem is that it seems to think that they are not equal when i input the value 'blank' so that it should enter the if statement

    I just tried that and it works. Thanks for the quick...
  2. Replies
    3
    Views
    2,529

    Comparing 2 elements from 2 different arrays

    I have two arrays that I'm trying to compare to see if the values are the same and then use it in an if statement to compare. Here they are declared:


    static char *my_argv[100];
    ...
  3. Replies
    2
    Views
    2,146

    When I input an example list: Tree First Zen ...

    When I input an example list:
    Tree
    First
    Zen

    the first two have no problem since they go into the AddToHead method. But when it tries to add Zen to the end of the list....it crashes with an...
  4. Replies
    2
    Views
    2,146

    Doubly linked list add in order

    I'm trying to create a doubly linked list that will add in order. I'm having trouble creating the AddInOrder method. Are there any web sources that any of you know of that could help me? or perhaps a...
  5. Replies
    4
    Views
    3,107

    Oh whoops...wrong forum...sorry

    Oh whoops...wrong forum...sorry
  6. Replies
    4
    Views
    3,107

    Doubly linked list add in order

    I'm trying to create a doubly linked list that will add in order. I'm having trouble creating the AddInOrder method. Are there any web sources that any of you know of that could help me? or perhaps a...
  7. Replies
    4
    Views
    1,580

    Well I wasnt asking for my code formatting to be...

    Well I wasnt asking for my code formatting to be examined...but it's just from cutting and pasting that everything got messed up.

    Dan
  8. Replies
    4
    Views
    1,580

    Well for my class the teacher wants us to...

    Well for my class the teacher wants us to practice using different types of sorts. This is one of the ones we have to do, so I'm trying to get it to work...but I'm having troubles with it.

    Dan
  9. Replies
    4
    Views
    1,580

    qSort with objects

    There is a lot of code...so i removed the parts that aren't important...unless of course i should post over 550 lines of code ;).



    #include <iostream>
    #include <fstream>
    #include <string>...
  10. I know I'm doing that. The problem is I don't...

    I know I'm doing that. The problem is I don't know a way around doing that. I'm not sure how to convert it to something else...if that's the way I should do it.

    Dan
  11. Errors with program to replace string with another

    Alright I wrote the program the way I thought it should work but I am getting some errors when using subStrBeg, subStrEnd and i together. I understand that they're different data types...but I don't...
  12. Replies
    3
    Views
    3,588

    Thanks for clearing it up :) Dan

    Thanks for clearing it up :)
    Dan
  13. Replies
    3
    Views
    3,588

    Replacing a substring with another

    I'm creating this program that is going to:
    1. Read a file
    2. Find occurances of a substring within the string read in
    3. Replace the occurances of this substring with another string
    4. Write to...
  14. Replies
    4
    Views
    20,199

    oh alright Thanks :) Dan

    oh alright

    Thanks :)
    Dan
  15. Replies
    4
    Views
    20,199

    Are there any that show an example of how to...

    Are there any that show an example of how to write to the file though?

    Dan
  16. Replies
    4
    Views
    20,199

    Example of mkstemp

    Would anyone be able to create or link to a good example of mkstemp. I need to use it for an assignment and I have looked around for examples but have yet to find a good one. I just need to see how...
  17. Hahaha...I had been trying to figure that out for...

    Hahaha...I had been trying to figure that out for close to an hour. THANKS! :)
    I'll have to pay closer attention now ;)

    Thanks again,
    Dan
  18. C reading from one file and write to another...problem

    I'm writing a program for class that reads from a file and then replaces a word with another word and writes that to a file. Right now I'm just doing the basic which is reading from one file and then...
  19. Replies
    3
    Views
    1,414

    Reading a file in binary question

    When reading a file in binary is there any way to have it stop at a delimiter such as '\n'. From what I've found you use read() but that only allows for the character array and the size of the array...
  20. Replies
    2
    Views
    1,063

    alright

    alright
  21. Replies
    2
    Views
    1,063

    File string searching

    I'm wanting my program to be able to search for a string within a file. I have been searching the net but I have been unable to do so. Can anyone give me a direction to look or an example?

    Thanks,...
  22. Replies
    5
    Views
    2,136

    Yeah that's exactly what I meant. Thanks for the...

    Yeah that's exactly what I meant. Thanks for the help.

    ...Dan
  23. Replies
    5
    Views
    2,136

    Input from file no white space characters

    I'm reading data in from a file and putting it into a string then appending it to another file. The problem with this is that all the data is put onto one line with no whitespace characters put into...
  24. Replies
    2
    Views
    3,780

    Thanks I'll take a look at it

    Thanks I'll take a look at it
  25. Replies
    2
    Views
    3,780

    Create a file from c++ program

    I'm trying to create a file when i run my program. So say i want to create a file called hello.txt and put my output in it.

    What code would i write so that it would create that file?

    Thanks...
Results 1 to 25 of 65
Page 1 of 3 1 2 3