• Member Avatar for NathanOliver
    NathanOliver

    Replied To a Post in there was a problem starting C:\PROGRA~3\9EEDE77.ccp the specified module c

    This isn't really a C++ problem. Try uninstalling the program and reinstalling the program that uses EEDE77.ccp
  • Member Avatar for NathanOliver
    NathanOliver

    Replied To a Post in help pleaseee

    Well that's not good for you. We do not do your work for you. Show us what you have and what the problems you are having with it. Include any …
  • Member Avatar for NathanOliver
    NathanOliver

    Replied To a Post in File handling

    `fclose()` is declared as `int fclose ( FILE * stream );`. As you can see it only takes one `FILE*`. So the answer to your question is no.
  • Member Avatar for NathanOliver
    NathanOliver

    Replied To a Post in help pleaseee

    And you have done what so far? We do not do your homework for you on this site.
  • Member Avatar for NathanOliver
    NathanOliver

    Replied To a Post in format specifiers

    Here is a listing of escape codes: \n newline \r carriage return \t tab \v vertical tab \b backspace \f form feed (page feed) \a alert (beep) \' single quote …
  • Member Avatar for NathanOliver
    NathanOliver

    Replied To a Post in C++.Net I/O using FSTREAM not working

    Use an if statement and check to see if your files are actually open. You can do that with if(!infile.is_open()) cout << "Input file not opened!"; if(!outfile.is_open()) cout << "Output …
  • Member Avatar for NathanOliver
    NathanOliver

    Replied To a Post in Input Buffer

    You can learn all about this problem [here](https://www.daniweb.com/software-development/cpp/threads/90228/flushing-the-input-stream)
  • Member Avatar for NathanOliver
    NathanOliver

    Replied To a Post in Error declaration is incompatible with " int.......

    line 32 should be `int IteratorTablou(int *crt = 0): crt(_crt)` You should also be returning a value from the function since you have an `int` return type. If you don't …
  • Member Avatar for NathanOliver
    NathanOliver

    Replied To a Post in Defining a global search function

    Is your student class also a linked list?
  • Member Avatar for NathanOliver
    NathanOliver

    Replied To a Post in counting numbers

    Checking if the number is divisible by 3 or 5 can be switched around. The main thing is that you need to have the check for if it is divisible …
  • Member Avatar for NathanOliver
    NathanOliver

    Replied To a Post in how do the uppercase and lowercase?

    I would think line 8 needs to be: TableMenuShortCuts[TableMenuShortCuts.size()-1].key=(c[c.size()-1])[0];
  • Member Avatar for NathanOliver
    NathanOliver

    Replied To a Post in counting numbers

    What did you plug in for the missing values and what does your for loop look like now? Remember when you are doing the summation that if the number is …
  • Member Avatar for NathanOliver
    NathanOliver

    Replied To a Post in how do the uppercase and lowercase?

    @cambalinho The reason you are gettting that error is `std::string.c_str()` returns a `char*` to the c-string the string contains. A `char` and a `char*` are not the same thing. If …
  • Member Avatar for NathanOliver
    NathanOliver

    Replied To a Post in graphics.h problem in dev c++ version 4.9.9.2

    Do you have graphics.h on your system? From what I remember graphics.h is a very old deprecated header from the good old DOS days. I wouldn't think it would be …
  • Member Avatar for NathanOliver
    NathanOliver

    Replied To a Post in counting numbers

    Is it working now? Also you shouldn't be changing the value of `i`. `i` should only be used for controlling the loop. You are adding 1,3,5 or 15 depending on …
  • Member Avatar for NathanOliver
    NathanOliver

    Replied To a Post in counting numbers

    x<=i<=y Is not valid c++. If you need to loop between all number in x and y then you can use: for (int i = x; i <= y; i++) …
  • Member Avatar for NathanOliver
    NathanOliver

    Replied To a Post in Need definition of the functions as per header file

    The comments in your code tell you what you should do in each function. Try to code it out and if you prolems with the code then post it and …
  • Member Avatar for NathanOliver
    NathanOliver

    Replied To a Post in Need definition of the functions as per header file

    What is giving you the problem? We are not here to do your homework for you.
  • Member Avatar for NathanOliver
    NathanOliver

    Replied To a Post in C++ Librairies and functions

    I like to use the website: http://www.cplusplus.com/reference/
  • Member Avatar for NathanOliver
    NathanOliver

    Replied To a Post in solving polynomial equations of degree 3 with C++

    If this is code that you are submitting for people to see/use than I have a couple pointer for you. First this should have been posted as a code snippet. …
  • Member Avatar for NathanOliver
    NathanOliver

    Replied To a Post in what does it mean ?

    What need to know is how things are [passed by reference or passed by value](http://stackoverflow.com/questions/373419/whats-the-difference-between-passing-by-reference-vs-passing-by-value)
  • Member Avatar for NathanOliver
    NathanOliver

    Replied To a Post in counting numbers

    when something is evenly divisible by a number the modulo is 0. 15 / 3 = 5 15 % 3 = 0 Knowing this you can write the following code …
  • Member Avatar for NathanOliver
    NathanOliver

    Replied To a Post in plz tell me this answer

    Since this is posted in the C++ forum how about: std::cout << "*\n***\n*****\n*******\n*********\n*********\n*******\n*****\n***\n*";
  • Member Avatar for NathanOliver
    NathanOliver

    Replied To a Post in sorting of struct using bool operator

    You can change your function to the following to take into account the filename. bool operator() (finfo i, finfo j) { if(i.fsize == j.fsize) return i.filename > j.file return (i.fsize …
  • Member Avatar for NathanOliver
    NathanOliver

    Replied To a Post in solving polynomial equations of degree 3 with C++

    And?
  • Member Avatar for NathanOliver
    NathanOliver

    Replied To a Post in AVL Music Library

    [fstream](http://www.cplusplus.com/reference/fstream/fstream/)
  • Member Avatar for NathanOliver
    NathanOliver

    Replied To a Post in Help me solving VRP

    [Here](http://en.wikipedia.org/wiki/Vehicle_routing_problem) is a good wiki that should start you on your path. This is a NP complete level problem which is going to require a lot of work.
  • Member Avatar for NathanOliver
    NathanOliver

    Replied To a Post in C++ file handling problem

    What is the problem you are having? Are you getting any errors?
  • Member Avatar for NathanOliver
    NathanOliver

    Replied To a Post in Why do I get this error "Do statement must have while"

    line 249-250: `do {` lines 267-274: if(bValid) { for ( i = 0; i < nInterval; i++) { y = (nStart + 1) % 5; viewStudentRecord(c, y); } } while(ch …
  • Member Avatar for NathanOliver
    NathanOliver

    Replied To a Post in Calculate square root of unsigned long long int

    There is a lot of information here: http://en.wikipedia.org/wiki/Methods_of_computing_square_roots
  • Member Avatar for NathanOliver
    NathanOliver

    Replied To a Post in Count String in a String Using Datatype Char

    Your algorithm is a little wrong. Here is how you can do it (pseudocode): string first, second; // get the data for the string for i = 0 to i …
  • Member Avatar for NathanOliver
    NathanOliver

    Replied To a Post in C++ Reading Files & Ram Usage

    Herb Sutter has shown that you can use the following to shrink a container down string(str).swap(str); This will create a temporary string object with exactlly what is left in `str`. …
  • Member Avatar for NathanOliver
    NathanOliver

    Replied To a Post in How can I maximise efficiency of this algorithm?

    I'm still rocking a floppy at work but it is a USB external floppy. The machine I have also has a serial port and that was hard to come by. …
  • Member Avatar for NathanOliver
    NathanOliver

    Replied To a Post in function

    @ Rafiii - Do not do homework for others that show no effort.
  • Member Avatar for NathanOliver
    NathanOliver

    Replied To a Post in Help to find why three errors pop up when i try to compile the following;

    What are the errors the compiler is giving you? Al so formating of you code is terrible. Code block should look like either of the following some line of code; …
  • Member Avatar for NathanOliver
    NathanOliver

    Replied To a Post in How do you handle the slow execution speed of STL during development?

    -O0 will give you zero optimization and can't remember where I was told this since it was a few years ago but that will definitely cause your code to be …
  • Member Avatar for NathanOliver
    NathanOliver

    Replied To a Post in function

    So what seams to be your problem. Just posting your homework will get you nowhere. I will offer to do it for $1000 USD that that is a limited time …
  • Member Avatar for NathanOliver
    NathanOliver

    Replied To a Post in break one char into two

    This post seems a little nonsensical. `"t6"` is not a char but a string. What is the type of arraystr? Why are you storing the answer into int's?
  • Member Avatar for NathanOliver
    NathanOliver

    Replied To a Post in Command prompt

    Well you can either use [command line arguments](http://www.cplusplus.com/articles/DEN36Up4/) and code your program to accept and use those or you can just call you program and have the program ask you …
  • Member Avatar for NathanOliver
    NathanOliver

    Replied To a Post in rotating sentences

    So what seams to be your problem?
  • Member Avatar for NathanOliver
    NathanOliver

    Replied To a Post in searching word in txt file and store line where it appear

    Show the code you have now and we should be able to help you modify it.
  • Member Avatar for NathanOliver
    NathanOliver

    Gave Reputation to ddanbe in How to Find First day of the Year that on 1st January which day was?

    Or use [Zeller's formula](http://24x7interestingfacts.blogspot.be/2008/09/zellers-rule.html).
  • Member Avatar for NathanOliver
    NathanOliver

    Replied To a Post in Please Help Me to solve the Question

    So what exactly do you need help with? Just posting your problem statement and hoping someone will give you code isn't going to work here.
  • Member Avatar for NathanOliver
    NathanOliver

    Replied To a Post in Need Help in runtime Error 2d array

    getting a runtime error points suggest that you are going out of the bounds of the array. What I wold suggest is that in your get and set methods you …
  • Member Avatar for NathanOliver
    NathanOliver

    Replied To a Post in .net platform

    I personally wouldn't use C++ for .Net programing. I would and have used C#.
  • Member Avatar for NathanOliver
    NathanOliver

    Replied To a Post in BlackJack 2.0

    Line 270: `virtual ~Deck():` Notice anything wrong with that?
  • Member Avatar for NathanOliver
    NathanOliver

    Replied To a Post in Give a visual interface (GUI) to a console exe file

    If you have access to the source code for program.exe and it isn't very large I would just incorporate that program into the new GUI application. That way you avoid …
  • Member Avatar for NathanOliver
    NathanOliver

    Replied To a Post in read from file - and write to another

    You can use [file streams](http://www.cplusplus.com/doc/tutorial/files/).
  • Member Avatar for NathanOliver
    NathanOliver

    Replied To a Post in Give a visual interface (GUI) to a console exe file

    It is possible to do but depending on how big your project is you might not want to do it that way. Calling another exe file requires a system call …
  • Member Avatar for NathanOliver
    NathanOliver

    Replied To a Post in Howe to learn

    Read a book, take a class, watch you tube tutorials. They're are lots of ways to learn C++, the question is how much time and money do you want to …

The End.