No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Hello, I've created something, its quite large, however I decided to write it without using oop, now I believe I see why I should just use oop. Okay, so the problem is with my bool values specifically: [CODE]button_pickup2 = false; button_pickup1 = true;[/CODE] For some reason when the ReflexAgent function … | |
Hi, well I have written something that compiles and runs fine with a different compiler, but when trying to use a g++ compiler, I get errors when compiling in a unix environment. Here is the command line I have used: [CODE]g++ Agent.h Agent.cpp Driver.C g++: Compilation of header file requested. … | |
In a iterative deepening search (IDS, why is it needed to regenerate the l levels of a tree when using depth limited searching with L+1 limits? ..my guess is because unlike a queue with n-1 limits, if there was a tree with l+1 limits, then the limit is l+1 because … | |
Okay, I was trying to write a program that will take in command line inputs of character or strings, separated by spaces. Ignore spaces, however i am going to want to be able to separate a and b from each other, or c and d from each other. So when … | |
Okay, so i was trying to make this work. Two queues need to be created using input from the user for 2 file names. For some reason I get 1 queue, the first one filled. Then the second queue never has anything in it. Please help me with better code, … | |
I'm quite new to the standard template library, I'm trying to understand how to use them with my code. There may still be some logic errors in my code. However I am trying to sort out my syntax errors. One big one is this: type/value mismatch at argument 1 in … | |
Hi for some reason my array prints out a bunch of 0's and other unwanted integer garbage. I can't see why because i originally assigned number to an array 1-31 using something like `array[]={1, 2,3...31}` something like that, and then i use a for or while loop in the code … | |
Hello, i am very interested in the c++ language, i decided to make my own small program and test how arrays work with classes with private variables and private operations and then calling them any way i'd like from the main function. a very big reason about this is probably … |