Posts
 
Reputation
Joined
Last Seen
Ranked #902
Strength to Increase Rep
+5
Strength to Decrease Rep
-1
100% Quality Score
Upvotes Received
5
Posts with Upvotes
3
Upvoting Members
5
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
2 Commented Posts
~19.3K People Reached
Favorite Tags
Member Avatar for chunalt787

I am trying to figure out the time complexity for a best case scenario shell sort. I know worst case is O(n^2) and I think best case should be O(n^2) as well because even thought its already sorted it still has to break the array down into gaps and check …

Member Avatar for radhak
0
207
Member Avatar for chunalt787

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 thinking I would start somewhere simple with something such as turning on …

Member Avatar for Ancient Dragon
0
1K
Member Avatar for ticktock

Hey all, for this term in my conquest for a BS degree in Information technology, we were assigned to create a UML diagram of any object oriented program that we would like. My problem is I have no idea on what to create. There will be no coding for this …

Member Avatar for Stefano Mtangoo
0
6K
Member Avatar for chunalt787

I didn't know where to put this but this seemed to be the best place. I took an internship this summer and found out that I will be doing embedded development in C/C++ and Linux for phones(land line voip stuff). This is bad for me since I have always been …

Member Avatar for chunalt787
0
130
Member Avatar for LevyDee

Hi, I have a homework assignment to copy the elements of one stack to the other except in reverse order. The algorithm is easy enough for me to figure out and implement. My only question is, I dont really understand how im supposed to add my own function to a …

Member Avatar for LevyDee
0
113
Member Avatar for chunalt787

I have the following php code: [CODE]$query = "INSERT INTO flashcards VALUES (null, '".$_POST['front0']."', '".$_POST['back0']."', ".$link.", ".$details.", NOW()); INSERT INTO bundleflashcardlink VALUES (null, ".$flashcardbundleid.", LAST_INSERT_ID());"; $result = mysql_query($query);[/CODE] which gives me the following error: [CODE]DB Connection error: You have an error in your SQL syntax; check the manual that corresponds …

Member Avatar for chunalt787
0
116
Member Avatar for chunalt787

I am a complete newbie on Prolog and I had a quick question. I want to write a function that takes no arguments and just does some asserts and retracts. Is this valid? [CODE]turnLeftFunc:- select(currentDirection(dir))->select(leftof(dir,turnDir))-> retract(currentDirection(dir)), assert(currentDirection(turnDir)).[/CODE] This is for a wumpus world implimentation. I want to be able to …

0
46
Member Avatar for corby

question: Two pointers that point to different arrays cannot be compared meaningfully. That's false right? because they can be compared in the same manner as integers are correc? if i am wrong please explain y or if u have anything to add please do!!!

Member Avatar for Dave Sinkula
0
174
Member Avatar for mrnutty

[URL="http://www.codinghorror.com/blog/archives/000781.html"] This [/URL] is a little hard for me to believe. Thankfully, I am not one of those applicants, nor ever will be.

Member Avatar for vaultdweller123
0
1K
Member Avatar for chunalt787

I am writing a bug tracking system and this is my first time using .NET. I will have a SQL database to store the bugs but I want to have a table on my main screen that will list the bugs from the SQL database and when the bug is …

Member Avatar for jamesonh20
0
72
Member Avatar for sidra 100

plz chk my code its giving error at line 45,49.also does it satisfies the requirement Problem Statement: Suppose we have a class named as Train it has two constructors, two methods, and a single attribute each of which described as follows:· One attribute:maxSpeed – an int value representing the maximum …

Member Avatar for sidra 100
0
123
Member Avatar for chunalt787

I've been recently getting into the world of blogging and I wanted to see if any of y'all had any suggestions for good blogs. Blogs I follow: [url]http://thewashingtonmistress.com/[/url] [url]http://blazingminds.co.uk/[/url] [url]http://biggovernment.com/[/url]

Member Avatar for WaltP
0
189
Member Avatar for cwarn23

Does anybody know what happened to Bill Gates as it would be interesting to see what happened to Bill after Microsoft? Bill was a Legend who changed the world. But now he has left Microsoft his hardly spoken of. So what does he do today and what do you think …

Member Avatar for jonsca
0
152
Member Avatar for marirs07

i've done a c program which involves creating and updating of files,i'd like to run my exe online,and moreover i want my files to be updated automatically after i work on that exe ,is there any way to do this.Plz Reply Soon.Thanks in advance.....

Member Avatar for restrictment
-2
74
Member Avatar for chunalt787

So I didn't know where to put this but I had somewhat of a newbie question. I am trying to create a blog for my friend. Its going to be a full fledged site and I want to store the blogs and be able to search on them later. I …

Member Avatar for stellamary
0
102
Member Avatar for chunalt787

I used to keep up with all this back in HS but ive been so out of it for so long I have lost touch with all the new hardware. I am currently running a core 2 32bit laptop with 2 gig ram and I am thinking its time for …

Member Avatar for Crash~Override
0
172
Member Avatar for chunalt787

I need to check if a named pipe is empty. I am cycling through about 10 of them and if its empty I don't want to block until there is something in it I just want to move on to the next one. Is there any way to check if …

0
93
Member Avatar for chunalt787

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: [url]http://code.google.com/p/flickrpy/[/url] I am calling the following function: [CODE]myPhotos = myPhotoSets[0].getPhotos()[/CODE] The shell is telling me there is an error in this …

Member Avatar for Mathhax0r
0
144
Member Avatar for chunalt787

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 execution time for different sized messages. The msgsnd is returning …

0
96
Member Avatar for pspwxp fan

I use Dev C++ and had to re-install it for a reason. Ever since then, whenever i build any project, even a helloworld, i get this. Error -1073741515 Execution terminated This happens in the object file, *.o, according to the build log. No description of the error, nothing. Any ideas?

Member Avatar for pspwxp fan
0
268
Member Avatar for gibson.nathan

i am trying to make a program that takes an object oriented approach to calculating the miles per gallon that your car gets. this is early in the process an i am aware that alot of stuff is missing. i am just trying to get it to work enough that …

Member Avatar for BestJewSinceJC
0
216
Member Avatar for LSUchemist

I have an assignment to write a program using 1D and 2D parallel arrays with input coming from a .data file given to us. I am nearly a complete novice with writing code and right now I am having a very hard time getting my program to write any values …

Member Avatar for jonsca
0
92
Member Avatar for chunalt787

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 Java has some new rules that I am trying …

Member Avatar for chunalt787
0
3K
Member Avatar for grijalva10

Hi I am new to C++ and new to programming in general. I would greatly appreciate if you could help me. I need to create a program using loops, that will do the following 3 task: 1. For each of the three persons, determine and report whether that person was …

Member Avatar for chunalt787
1
108
Member Avatar for scantraXx-

Hey guys. I need help with these questions please :( 1. Write a function that takes as a parameter a queue of integers and returns a copy of the queue with all the elements stored in reverse order. Use a stack as a helper data structure. [code]queue<int> reverseQueue(queue<int> q) // …

Member Avatar for chunalt787
0
139
Member Avatar for railmaster7

I'm having trouble figuring out how I would replace a value in my vector once it is found by the if statement. [code] void ExprTree::setVariable(const string& s, double d) { vector<Variable>::iterator pos; for(pos = varList.begin(); pos!= varList.end(); ++pos) { if(pos->data = s) ; //here is where i'm stuck else if(pos …

Member Avatar for chunalt787
0
140
Member Avatar for AutoC

Hi, I'm not clear as to when memory is allocated from the stack, free store or data area.Can someone please elaborate?

Member Avatar for chunalt787
0
99
Member Avatar for that_fox

Hello, this seems like it will be a helpful community. For my degree I need to take a basic C++ class and the only C++ class the offer that fits is an 8 week class, it [I]really[/I] goes too fast. Anyways, I've been trying my hardest, but my brain really …

Member Avatar for chunalt787
0
161
Member Avatar for chunalt787

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. [B]Question 1: [/B]I found the following code on another forum. [CODE]typedef struct List { char* Name; char* Address; BOOL is_present }List_info; List_info …

Member Avatar for chunalt787
0
148
Member Avatar for chunalt787

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 every class to check that flag. I have …

Member Avatar for David Boon
0
209