Forum: Python 8 Hours Ago |
| Replies: 1 Views: 50 I am just starting with python and I am trying to write a program that interfaces with flickr. I am using the interface flickr.py found at the following link:
http://code.google.com/p/flickrpy/
... |
Forum: C 15 Days Ago |
| Replies: 0 Views: 147 I am new to message queues and IPC in general. I am trying to have a process establish the queue and send a message. Then I fork and the child will read the message. The goal is to measure the... |
Forum: C++ 25 Days Ago |
| Replies: 8 Views: 189 what text editor in putty are you using? Can you not map your network drive and just open it in wordpad? |
Forum: Java 25 Days Ago |
| Replies: 4 Views: 333 |
Forum: Java 25 Days Ago |
| Replies: 4 Views: 333 So I would have to make a wrapper class myInt which stores an int as its data member? |
Forum: Java 25 Days Ago |
| Replies: 6 Views: 192 Java is purely object oriented meaning that member functions such as, calcDistance(...) and calcMPG(...) must be called on an object.
In your main you must construct an object of type CarV5 with... |
Forum: C++ 25 Days Ago |
| Replies: 3 Views: 198 I had that and it was because mspdb80.dll was missing. Check your directories and make sure nothing is corrupt. |
Forum: Java 25 Days Ago |
| Replies: 6 Views: 192 Do you have any specific questions? |
Forum: Java 25 Days Ago |
| Replies: 4 Views: 333 I am trying to create a 2d array list but it is giving me a compiler error pointing at the first line of the function. I don't really get what is causing the problem. I am pretty good in C++ but... |
Forum: C++ Oct 6th, 2009 |
| Replies: 2 Views: 205 Sorry for the double, post deleted look at post above |
Forum: C++ Oct 6th, 2009 |
| Replies: 2 Views: 205 Your problem is in this line right here
age = (m * 100) + (y * 10000) + (d);
I somewhat see what you are trying to do but that's a strange way of doing it. Try three nested if statements. For... |
Forum: C++ Oct 6th, 2009 |
| Replies: 3 Views: 289 Draw these out and trace through the algorithm and it will make much more sense. |
Forum: C++ Oct 6th, 2009 |
| Replies: 2 Views: 241 What is Variable? If this is a class that you have written make sure that you are including the file that holds the class in the file that is giving that compile error. When you try to declare your... |
Forum: C++ Oct 6th, 2009 |
| Replies: 2 Views: 178 Definitely read the links provided above but the short answer to your question is that pointers point to data stored on the stack and everything else is on the program stack. But remember, the... |
Forum: C++ Oct 6th, 2009 |
| Replies: 3 Views: 290 You are close on the "sentence2[y]=*point[y];" part but sentence2[y] must be a pointer. As you have it in your code it is just a plain old variable. The & does return the address of the object, in... |
Forum: C Sep 20th, 2009 |
| Replies: 2 Views: 281 O wow I didn't even see the typedef keyword there. My brain is a little ovewhelmed.
Thanks |
Forum: C Sep 19th, 2009 |
| Replies: 2 Views: 281 I am a C++ and Java programmer and I just have a couple simple syntax questions that I can't find a clear answer to. Yes I tried Google.
Question 1: I found the following code on another forum.... |
Forum: C++ Sep 18th, 2009 |
| Replies: 2 Views: 200 I am writing a database API in C++ and I cant seem to think of a good way to handle the errors. For example if certain error conditions are met I would like to set some sort of error flag and allow... |
Forum: Legacy and Other Languages Feb 3rd, 2009 |
| Replies: 4 Views: 751 That worked. Thank you so much for all your help you have saved me and I really appreciate it. |
Forum: Legacy and Other Languages Feb 3rd, 2009 |
| Replies: 4 Views: 751 Thank you very much that helped a ton and actually makes sense. I got one more for ya. Im trying to do a binary add now where the binary numbers are represented by a list of Bool's and for some... |
Forum: Legacy and Other Languages Feb 2nd, 2009 |
| Replies: 4 Views: 751 I am just starting off in a haskell course and I am trying to write a program that takes a list representing an int such as [1,4,3] would mean 143, and convert it to binary and return it as a list in... |
Forum: C++ Dec 22nd, 2008 |
| Replies: 2 Views: 758 I just finished with my first year of Computer Science in college and over the break I wanted to learn how to do output from a computer using a C++ program to control different I/O hardware. I was... |
Forum: C++ Nov 28th, 2008 |
| Replies: 1 Views: 720 Ok Ive tried a new approach to this and this one goes into an infinite loop as well but I was able to figure out that this one keeps going back and fourth between node 0 and node 1 never progressing... |
Forum: C++ Nov 27th, 2008 |
| Replies: 1 Views: 720 Some of the code has been omitted. I am trying to write a DFS function to traverse a maze. It will eventualy add the nodes to a tree that I will traverse once I get the DFS working. Currently it... |
Forum: C++ Nov 25th, 2008 |
| Replies: 2 Views: 350 o wow ok ya im stupid I had declared it but not defined it and i was being dislexic reading the error message. Thanks so much |
Forum: C++ Nov 25th, 2008 |
| Replies: 2 Views: 350 I the compiler is giving me the following error on the constructor of graph however it has been defined in the public section. Error /tmp/ccku0faq.o: In function `Graph::Graph()':... |
Forum: C++ Nov 24th, 2008 |
| Replies: 2 Views: 616 o ok that makes sense. thanks |
Forum: C++ Nov 24th, 2008 |
| Replies: 2 Views: 616 I am trying to pass the size of the matrix array during the constructor but its giving me the following error. Is there a different way to do this?
In file included from Main.cpp:1:... |
Forum: C++ Nov 10th, 2008 |
| Replies: 2 Views: 423 that worked thanks. Ya i know about the others. Im working on them now. |
Forum: C++ Nov 10th, 2008 |
| Replies: 2 Views: 423 This is for a frequency table that will eventually allow me to build a Huffman coding tree. I want the class FrequencyTable to simply hold a vector of the type FrequencyNode however I keep getting... |
Forum: Computer Science Nov 6th, 2008 |
| Replies: 1 Views: 557 I am currently learning about heaps and specifically their relevance to priority queues. I don't seem to understand a couple concepts and was hoping someone could clear these up.
First of all I... |
Forum: C++ Nov 2nd, 2008 |
| Replies: 8 Views: 558 Also note that a warning is different from an error. Code will compile and run with 100 warnings but it wont compile or run with even a single error. Warnings are little helpful hints given by the... |
Forum: C++ Nov 2nd, 2008 |
| Replies: 7 Views: 1,075 Alright thanks to everyone. I figured it out using a switch statement to convert the chars. Its not very elegant but it works for now. Thanks Lerner that info will come in handy later.
Thanks... |
Forum: C++ Nov 1st, 2008 |
| Replies: 4 Views: 333 well first of all the paramater was written wrong. It needs to be something like int readSeq(int NAMEOFARRAY[]) The array has to have a name. I still dont understand what the function is trying to... |
Forum: C++ Nov 1st, 2008 |
| Replies: 5 Views: 715 Now that you have all the functions declared and data members declared all you have to do is implement the functions. For example you would want the function GetFirstName(void) to return the first... |
Forum: C++ Nov 1st, 2008 |
| Replies: 8 Views: 691 A constant is not a type. It just tells the program not to modify that type for example you could have an integer const or a string const or a char const or any other type. Looks like you want an... |
Forum: C++ Nov 1st, 2008 |
| Replies: 4 Views: 333 http://www.cplusplus.com/doc/tutorial/arrays.html
read that it might help. I am kind of confused on what you need to do. What is readSeq supposed to return? for example what is the int that it... |
Forum: C++ Nov 1st, 2008 |
| Replies: 7 Views: 1,075 Ok so after looking at it a little more I think I figured out the problem I just dont know how to work around it. I am trying to bring in ints from the file however istream.get(element) only accepts... |
Forum: C++ Nov 1st, 2008 |
| Replies: 7 Views: 1,075 Thanks for the reply. The traversal was for testing purposes I wanted to see what the tree was holding to see what was being brought in. I will try your suggestion tomorrow when I get up.
Thanks... |
Forum: C++ Oct 31st, 2008 |
| Replies: 7 Views: 1,075 No one? Im really perplexed by this one. |