Search:

Type: Posts; User: sonicflare9

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    9
    Views
    3,927

    am I getting closer #pragma once #include...

    am I getting closer

    #pragma once
    #include <iostream>

    using namespace std;

    template <class T>
    struct Bug {
    char m_cpriority;
  2. Replies
    9
    Views
    3,927

    Did I do the assignment ok for A B and C? ...

    Did I do the assignment ok for A B and C?


    #pragma once
    #include <iostream>

    using namespace std;

    template <class T>
    struct Bug {
  3. Replies
    9
    Views
    3,927

    trying to put bugs in enqueue got error c2187 for...

    trying to put bugs in enqueue got error c2187 for the arrow thing it says it was unexpected here


    #pragma once
    #include <iostream>

    using namespace std;

    template <class T>
    struct Bug {
  4. Replies
    9
    Views
    3,927

    Priority Q Exercise Due Today at night

    I have to do this



    Imagine you're writing a little program to categorize bugs in a game and you want to push the bugs into a queue. The bugs will have a char priority(level) of 'A', 'B', or...
  5. try { throw = 20; } catch () ...

    try {
    throw = 20;
    }
    catch ()


    sorry how do i fix
  6. what do i use try catch throw for the exception...

    what do i use try catch throw for the exception handling
  7. Classes & Objects (Due Tuesday , April 24...

    Classes & Objects
    (Due
    Tuesday
    , April
    24
    th
    at 11:59pm )
    The goal
    of this assignment is to build an application that consists of
    a class
  8. i have to use template for the assignment

    i have to use template for the assignment
  9. printing out subclass objects and int sega int nintendo bool enjoy and string fun

    how can I do that? please help



    #include "stdafx.h"
    #include <iostream>
    #include <fstream>
    #include <vector>
    using namespace std;
  10. how do I pass in a string to the object's constructor

    sorry kinda new


    #include "stdafx.h"
    #include <iostream>
    #include <fstream>
    #include <vector>
    using namespace std;

    template<class gamer>
  11. Replies
    3
    Views
    2,089

    its for an assignment can you help how do I make...

    its for an assignment can you help how do I make it
  12. Replies
    3
    Views
    2,089

    inherit the subclass from the base class

    how do i publically inherit the subclass from the base class


    #include "stdafx.h"
    #include <iostream>
    #include <fstream>
    using namespace std;

    template <class game>
  13. Thread: text files

    by sonicflare9
    Replies
    2
    Views
    946

    text files

    how do i get it?



    #include <iostream>
    #include <string>

    template <class game>

    class game
  14. Replies
    27
    Views
    17,031

    #include "stdafx.h" #include "Functions.h"...

    #include "stdafx.h"
    #include "Functions.h"
    #include <iostream>
    using namespace std;

    double kg;
    double lb;

    double Functions::GetDouble(const std::string & prompt)
    {
  15. Replies
    27
    Views
    17,031

    #include void foo(int n) { ...

    #include <iostream>


    void foo(int n)
    {
    std::cout << n << std::endl;
    }

    int main()
    {
  16. Replies
    27
    Views
    17,031

    can i have an example

    can i have an example
  17. Replies
    27
    Views
    17,031

    how do i fix too few arguments in function call

    how do i fix too few arguments in function call
  18. Replies
    27
    Views
    17,031

    I need help #ifndef _FUNCTIONS_H_ #define...

    I need help

    #ifndef _FUNCTIONS_H_
    #define _FUNCTIONS_H_

    #include <iostream>
    #include <string>

    enum Options { NORMAL_EXIT, KG_TO_LBS, CELSIUS_TO_KELVIN, TSP_TO_ML, M_TABLE, S_TABLE };
  19. Replies
    27
    Views
    17,031

    how do i fix the error uninitilized local...

    how do i fix the error uninitilized local variable kg used
  20. Replies
    27
    Views
    17,031

    is this better #ifndef _FUNCTIONS_H_...

    is this better


    #ifndef _FUNCTIONS_H_
    #define _FUNCTIONS_H_

    class BaseFunction
    {
    private:
  21. Replies
    27
    Views
    17,031

    maybe would it work if I change the functions in...

    maybe would it work if I change the functions in the header one to different names? the class functions publics one? and then maybe i can change the sampleproject and functions cpp
  22. Replies
    27
    Views
    17,031

    im kinda new to this thing

    im kinda new to this thing
  23. Replies
    27
    Views
    17,031

    what should I do to make it work

    what should I do to make it work
  24. Replies
    27
    Views
    17,031

    thanks!!! i got this now #include...

    thanks!!!

    i got this now


    #include "stdafx.h"
    #include "Functions.h"
    #include <iostream>
    using namespace std;
  25. Replies
    27
    Views
    17,031

    where should i put the array

    where should i put the array
Results 1 to 25 of 37
Page 1 of 2 1 2