- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
18 Posted Topics
I'm having trouble running C in eclipse. It first gives me weird syntax errors or tells me that # include <stdio.h> is an "Unresolved inclusion" It also will not let me build, saying "(Cannot run program "make": Launching failed)" Am I missing something? please help. Thanks | |
Is &(&z) ever legal in C? please give an example, i'm having a hard time understanding this. | |
Could someone help me out I need to change a String such as "asu" I'm thinking of using the ascii but I'm not sure how i could do that | |
I need help coming up with the running time, T(n) for this algorithm [CODE]1) for i = 0 to length[A] – 1 2) k = i + 1 3) for j = i + 2 to length[A] 4) if A[k] > A[j] 5) k = j 6) if k ≠ … | |
Re: You should post your whole code so that we can see where exactly your error is. However, I think it may be that your not adding 4 everytime you run your loop, so consequently your storing all your numbers in 0($) If thats not the case then please post more … | |
I'm writing a code that is using ArrayList this is the part that is giving me the error. There are several instancses of this error but I figure that if I can get once fixed I can fix them all. [CODE] ArrayList <Student> studentList = new ArrayList <Student>(); ArrayList <Course> … | |
Can any one give me any troubleshoot tips to get my applet to at least show up? It seems like I have most of the things right I'm sure the error is something small. | |
I'm getting errors for my switch statement stating that all of my cases are orphan cases does any one know why that is? | |
I'm wondering how I would be able to tell if an integer is even or odd, I know that if the least significant bit is 1 then it is odd but I don't know how to tell if the integer has this bit as a 1 or a 0. | |
I'm having trouble writing a recursive program that finds the Factorial of a number that is the output of another fucntion (exp bar) here's my program for (exp bar) [CODE][/CODE]exbar(0, 0, 0, _) :- write('Error'), nl. exbar(X, Y, 0, 1) :-!. exbar(X, Y, 1, R) :- R is 2*X +Y. … | |
I wrote a a program that calculates the volume of cylinders using named functions and un-named functions, however, i'm having trouble doing the same using the let-form in scheme. here's my program although it doesn't work [CODE](define main6(lambda () (let ( (volumec6 (lambda (d h) (let ( pi (3.14159265)) (* … | |
i need help writing a program that compares 5 numbers and returns the max, i have the code that compares 3 numbers but i don't know how to expand it to 5. here's the code for the max of 3 [CODE] (define max3 (lambda (x y z) (if (> x … | |
I have a Class Personnel and a sub-class Student how could i change a pointer pointing to Personnel and have it point to Student? I'm trying this [code=cpp] Personnel *person=NULL; PersonnelNode *node=NULL; PersonnelNode *temp, *prev; Student *s=new Student(); while (temp != NULL) { person = temp->getNode(); if (stricmp(name,name)==0){ prev = … | |
I've written a program that keeps a linked list of Personnel. The Personnel can be of the type Student(inherited from Personnel) each student has the name and id from Personnel and a Queue of type books. Everything works except it doesn't display the list of books. please offer any help … | |
I delcared an enum type in my program: typedef enum {freshman, sophmore, junior, senior }level; then i declared a variable level x=freshman; how can i increase the enum type to go from freshman to sophemore etc. | |
I'm having trouble writing a Queue class using Book structures i keep getting this error where tried to assign the pointer front and rear to the next or previous link in the queue here is my entire Queue class i have highlighted the parts that gave me the errors <AD: … | |
along with that error i also get these for that same line error C2143: syntax error : missing ';' before '{' error C2447: '{' : missing function header (old-style formal list?) here is that line of my code [code=cpp]class Queue{ //Number 2 protected: struct Book *front; struct Book *rear; public: … | |
these are the errors that i'm getting i dont' know whats wrong because most of it is given by the instructor any help with these errors will be greatly appreciated c:\documents and settings\compaq_owner\my documents\visual studio 2005\projects\book.cpp(12) : error C2236: unexpected 'class' 'Queue'. Did you forget a ';'? c:\documents and settings\compaq_owner\my … |
The End.