Search:

Type: Posts; User: sswaters

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    808

    thanks thats all i needed

    thanks
    thats all i needed
  2. Replies
    2
    Views
    808

    I need some help with time

    I need a very very simple bit of code to just cout the time,day,month,year. I am not picky about the format(ie dd,mm,yyyy) its just time in C++ just confuses the hell out of me and i cant seem to...
  3. This topic is going in a very very weird...

    This topic is going in a very very weird direction 0.99999... = 1 and will probably end up in was there a second shooter on the grassy knoll but you should make the program so that you tell it...
  4. getline(in, stuff, ','); what are in and stuff...

    getline(in, stuff, ',');
    what are in and stuff representing
    i want to move it into a string called cvk
    would that be
    getline(inputfile, cvk, ',');
    or
    getline(cvk,inputfile, ',');

    edit:never...
  5. thanks it works i dont no why i didnt think of...

    thanks it works i dont no why i didnt think of that any solution to the ifstream needs to not skip spaces problem
  6. oh and if anyone can tell me how to not skip...

    oh and if anyone can tell me how to not skip spaces with ifstream that would help too
  7. stringstreams help i know you guys will know

    I have a program some of you may remember my previous post. It uses a stringstream to convert an int to a string.
    The problem is i cant find how to empty the string after it is used once
    ...
  8. Replies
    23
    Views
    2,090

    well the problem is my while loop seems to only...

    well the problem is my while loop seems to only open the c_file junk the first time around and i have no idea why and quit is equal to 0.


    while ( quit!= 1 ) {
    filename = "input" + num +...
  9. Replies
    23
    Views
    2,090

    yes i am closing it now (where were you 20...

    yes i am closing it now (where were you 20 minutes ago)
    it loads now and can be read but my code still has problems.
    however i think i can fix them myself for right now thanks everybody
  10. Replies
    23
    Views
    2,090

    yeah sorry i started to post before you finished...

    yeah sorry i started to post before you finished oh and i put the failed to open code in and it says failed to open c_file so there inlies my problem i am going to look into why it cant

    edit: and...
  11. Replies
    23
    Views
    2,090

    im going to edit my code a little bit to match...

    im going to edit my code a little bit to match that somewhat ill be back soon
  12. Replies
    23
    Views
    2,090

    well i still have a problem (dont get why it will...

    well i still have a problem (dont get why it will compile perfectly)
    but I thought i should start up my old thread again instead of making a new one so you can see previous problems.

    Ifstream...
  13. Replies
    23
    Views
    2,090

    will try lol one sec omg it worked finally...

    will try lol one sec

    omg it worked finally what a silly thing it doesnt accept it like that but will as filename.c_str()

    you guys have saved me weeks of researching on google
  14. Replies
    23
    Views
    2,090

    b_file.open(filename); gets errors 50 no...

    b_file.open(filename);
    gets errors


    50 no matching function for call to `std::basic_ofstream<char, std::char_traits<char> >::open(std::string&)'


    C:\Dev-Cpp\include\c++\3.4.2\fstream:695...
  15. Replies
    23
    Views
    2,090

    well thanks for all the help just refreshed to...

    well thanks for all the help just refreshed to find that ignore char thing that will make things easier thanks all of you i think thats all i need

    edit:nowhere else would i find such help at 1-3...
  16. Replies
    23
    Views
    2,090

    thanks i will see if it works once i make small...

    thanks i will see if it works once i make small adjustments to my code and maybe that code

    and by the way efficient doesnt really metter to me just look at this snippet of my (poorley written but...
  17. Replies
    23
    Views
    2,090

    I think you misunderstood what i was...

    I think you misunderstood what i was trying(poorly trying) to say but u answered parts of what i was asking so thanks

    but what i am trying to do would be like this

    ifstream b_file;

    --enter...
  18. Replies
    23
    Views
    2,090

    a little if of stream help please

    hello please answer quick as you can it is 1:35 here and not pm

    I am writing a program that needs to input files but the name of the file needs to increment everytime a while loop runs. I can...
Results 1 to 18 of 20