i know what the difference between the degrees is, just want to know if anyone has any stories of the real difference it makes in the world
Type: Posts; User: pkananen
i know what the difference between the degrees is, just want to know if anyone has any stories of the real difference it makes in the world
right now i am a comp sci major, but i am considering becoming a comp engineering major. i think i would like the more hands-on work. some other people have said it would open up more opportunities...
is "data structures and algorithms" a book? because the book for the data structures class i am dropping is called "data structures and algorithm analysis" i will be studying it before i take the...
wow, good idea. i guess if i was really ambitious, i could simulate a day of buisness, and random int generators could determine how many "items" would be "bought" each day, and i would gain that...
ok, i need some advice. i am a sophomore computer science major. i took my first c++ class last year, my second last semester, and i was taking data structures this semester. i missed the first...
those aren't working. the second one doesn't let me input a new value for my variable
why is there a 'double' in front of (mass*......?
if i want to take the input of a user and check to see an int, how do i do that?
could someone tell me what the "%7s" means in this:
scanf("%7s",&record.field3);
i know those header files are wrong. i usually use the non-.h ones, but for some reason i didn't here. thanks.
#include <cassert.h>
#include <conio.h>
#include <cstdlib.h>
#include <iostream.h>
#include <fstream.h>
#include <string.h>
#pragma argsused
using namespace std;
i have
#include <string.h>
but it doesn't recognize strtok()
and how to use strtok() to parse it up in c++. i am planning on using getline(). thank you in advance
and how to go from a seq. txt file to a relative file in c++
i found out that structs are the best way to do this. i don't know anything about those though. i found this.
The project consists of loading a random file.
Students using The C Language,...
yeah, i have no idea either. i never really learned this stuff before. so do i use a linked list or something? i am so confused.
this is for my data structures C++ class. this is the lab description. I feel pretty confused. can anyone tell me what this would mean to you?
"Change your sequential file into a relative file,...
i am trying to make a new class object (MySquareMatrix)by doing this:
MySquareMatrix C(A); // making a copy of 'A' called 'C'
the only thing is that when i try to access 'A' later, it has the...
ok...i guess that makes sense, but i feel like i don't know what i should do next. what would i set a + b equal to?
i made the operator non-member because my prof said to.
here is the operator:
MySquareMatrix operator +(const MySquareMatrix &A, const MySquareMatrix &B)
{
double sum;
int order =...
ok, i have two matrices a and b. they are objects from a class. so i write a non-member operator + to add them. the new matrix is called c. if i declare the matrix c in the operator then the body...
can i call member functions in the definition of the operator?
my prof gave me this stub for an operator:
MySquarMatrix operator +(const MySquareMatrix &, const MySquareMatrix &);
{
// add matrices a+b
}
MySquareMatrix is the name of the class, but this...
can anyone help me? its in a class.