am I getting closer
#pragma once
#include <iostream>
using namespace std;
template <class T>
struct Bug {
char m_cpriority;
Type: Posts; User: sonicflare9
am I getting closer
#pragma once
#include <iostream>
using namespace std;
template <class T>
struct Bug {
char m_cpriority;
Did I do the assignment ok for A B and C?
#pragma once
#include <iostream>
using namespace std;
template <class T>
struct Bug {
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 {
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...
try {
throw = 20;
}
catch ()
sorry how do i fix
what do i use try catch throw for the exception handling
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
i have to use template for the assignment
how can I do that? please help
#include "stdafx.h"
#include <iostream>
#include <fstream>
#include <vector>
using namespace std;
sorry kinda new
#include "stdafx.h"
#include <iostream>
#include <fstream>
#include <vector>
using namespace std;
template<class gamer>
its for an assignment can you help how do I make it
how do i publically inherit the subclass from the base class
#include "stdafx.h"
#include <iostream>
#include <fstream>
using namespace std;
template <class game>
how do i get it?
#include <iostream>
#include <string>
template <class game>
class game
#include "stdafx.h"
#include "Functions.h"
#include <iostream>
using namespace std;
double kg;
double lb;
double Functions::GetDouble(const std::string & prompt)
{
#include <iostream>
void foo(int n)
{
std::cout << n << std::endl;
}
int main()
{
can i have an example
how do i fix too few arguments in function call
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 };
how do i fix the error uninitilized local variable kg used
is this better
#ifndef _FUNCTIONS_H_
#define _FUNCTIONS_H_
class BaseFunction
{
private:
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
im kinda new to this thing
what should I do to make it work
thanks!!!
i got this now
#include "stdafx.h"
#include "Functions.h"
#include <iostream>
using namespace std;
where should i put the array