Posts
 
Reputation
Joined
Last Seen
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
61% Quality Score
Upvotes Received
5
Posts with Upvotes
5
Upvoting Members
5
Downvotes Received
4
Posts with Downvotes
3
Downvoting Members
3
1 Commented Post
0 Endorsements
Ranked #1K

59 Posted Topics

Member Avatar for vuquanghoang

I hope you already know what an array is. You can access an array's item by specifying its index, for example a[1] = 1. However, for linked list, you cannot do that. It is because each "linked list node" usually has two parts, data and [B]reference[/B] to next item. To …

Member Avatar for Smita_1
0
883
Member Avatar for cwarn23
Member Avatar for armydad1

For pseudocode you dont have to write in any specific programming language. Just write for example : [code] i = lastitem...firstitem [/code]

Member Avatar for -VLV-
0
213
Member Avatar for tungnk1993

I want to know what software is used to draw these graphs with labels and 3D perspectives? Image attached

Member Avatar for CriticalError
0
104
Member Avatar for TheWind147

Take a look at this site [URL="http://www.cplusplus.com/forum/beginner/5619/#msg25047"]http://www.cplusplus.com/forum/beginner/5619/#msg25047[/URL]

Member Avatar for WaltP
0
3K
Member Avatar for london-G
Member Avatar for london-G
0
102
Member Avatar for TIM_M_91

you can apply any sorting algorithms to your database, changing the normal comparison < = > to compareTo.

Member Avatar for stultuske
0
114
Member Avatar for dariaveltman

Why dont you use string for both name and city? Try changing it to string also

Member Avatar for tungnk1993
0
137
Member Avatar for 4hotkiss

a look through this website may help [URL="www.cplusplus.com/reference"]www.cplusplus.com/reference[/URL]

Member Avatar for tungnk1993
0
96
Member Avatar for kroysemaj

I dont think thread sleep is what you should use, you can use a timer instead. [URL="http://www.techusers.net/96/example-timer-control-vbnet"]http://www.techusers.net/96/example-timer-control-vbnet[/URL]

Member Avatar for kroysemaj
0
590
Member Avatar for Ritesh_4

You can use visual studio to develop your software : [URL="http://blogs.msdn.com/b/vbteam/archive/2011/08/02/temperature-monitoring-using-vb-net-and-the-micro-framework-and-a-netduino.aspx"]http://blogs.msdn.com/b/vbteam/archive/2011/08/02/temperature-monitoring-using-vb-net-and-the-micro-framework-and-a-netduino.aspx[/URL] What do you mean 'interact' ?

Member Avatar for tungnk1993
0
169
Member Avatar for Aleksej

Which part did your program stuck at ? You can set breakpoint so that you know which line goes wrong

Member Avatar for Aleksej
0
526
Member Avatar for newbie1234

You could read the link below to know how to input from file [URL="http://www.cplusplus.com/doc/tutorial/files/"]http://www.cplusplus.com/doc/tutorial/files/[/URL] After that, you can input each line as a string then find for the character in the string

Member Avatar for tungnk1993
0
267
Member Avatar for shadow29014

You can use loop for [B]ctr[/B] variables. Also, you should you a shorter variable name for myvector ( I change it to [B]m[/B] ) so as to save some space. [CODE]for (int ctr = 0 ; i <= 2; i++) { if (xmin >= m[ctr].x && xmin <= m[ctr+1].x) { …

Member Avatar for tungnk1993
0
117
Member Avatar for Rashidindia

You should think of an idea on what you are trying to achieve so that it will be easier for others to help :)

Member Avatar for tungnk1993
0
84
Member Avatar for Susmita_Sikder

First, I assume that a sentence or a line will end when the user presses enter after input. [CODE]#include <iostream> #include <stdio.h> using namespace std; int main() { char s[100]; scanf("%[^\n]",&s); printf("%s",s); return 0; } [/CODE] The use of scanf here is very useful , \^n means exclude ^n character …

Member Avatar for tungnk1993
0
321
Member Avatar for shadow29014

[ICODE]#include <iostream> #include <string> #include <stdio.h> #include <vector> #include <algorithm> #include <list> #include <map> #include <fstream> using namespace std; struct Point { int x,y; }; bool myobject(Point x1,Point x2) { return (x1.x<x2.x); } int main() { ifstream infile; infile.open("input.txt"); int n_points = 0; infile>>n_points; vector<Point> myvector; vector<Point>::iterator it; for (int …

Member Avatar for WaltP
0
227
Member Avatar for jackbauer24

A simple hangman game should be easy enough :) Find some simple games which can keep him excited

Member Avatar for zeroliken
0
308
Member Avatar for adil_bashir

You can make a simple vocabulary learning system similar to flashcards. Each card ( item ) has two sides and your program can have features like add cards, test cards, delete cards, etc.

Member Avatar for stultuske
0
144
Member Avatar for ogglock

You can just separate your compare function from your struct. For example : [CODE]struct Point { int x,y; }; bool myobject(Point x1,Point x2) { return (x1.x<x2.x); } [/CODE] Just remember to put struct before compare function

Member Avatar for ogglock
0
154
Member Avatar for saadahkh
Member Avatar for tungnk1993
0
102
Member Avatar for manoj_93
Member Avatar for tungnk1993
0
150
Member Avatar for SumPersonGuy

First off all, your code for linked list is quite complicated so i didnt read all. But there are some tips: - Reverse both numbers ( i think you have done it) - Multiply manually by hand, step by step, find the algorithm. Pay attention to carrys - Get it …

Member Avatar for tungnk1993
0
156
Member Avatar for aparichit4evr

First, minutes cannot exceed 59. So, for example 7 hours 62 minutes should become 8 hours 2 minutes. So, [CODE]int plusHour = result.minutes/60; result.hour+=plusHour; results.minutes%=60; [/CODE] For operator overloading,just take a look here [URL="http://www.cprogramming.com/tutorial/operator_overloading.html"]http://www.cprogramming.com/tutorial/operator_overloading.html[/URL]

Member Avatar for tungnk1993
0
281
Member Avatar for daydie

First you need to write the login code. You can take a look at these two sites, I find it pretty helpful [URL="http://social.msdn.microsoft.com/Forums/en/Vsexpressvb/thread/f93c1d5e-ad8f-4706-8679-7fd2d1cd56ae"]http://social.msdn.microsoft.com/Forums/en/Vsexpressvb/thread/f93c1d5e-ad8f-4706-8679-7fd2d1cd56ae[/URL] [URL="http://www.hassan-ahmad.com/2009/11/vb-net-login-to-website-programmatically-example-code/"]http://www.hassan-ahmad.com/2009/11/vb-net-login-to-website-programmatically-example-code/[/URL] Then you can continue with your ping

Member Avatar for tungnk1993
0
159
Member Avatar for aishapot

You could write a Sub ( method ) which has two parameters. For example: [CODE]Sub update(ByVal pictureBox as PictureBox, ByVal newImage as String) pictureBox.Image = Image.FromFile(newImage) End Sub [/CODE]

Member Avatar for tungnk1993
0
105
Member Avatar for shravya

Correct spelling is "definition" :) Just find the definition here [URL="http://en.wikipedia.org/wiki/Computer_virus"]http://en.wikipedia.org/wiki/Computer_virus[/URL]

Member Avatar for shravya
0
114
Member Avatar for HEMAMBUJAVALLY

[URL="http://crypto.stanford.edu/pbc/chunked/ch02.html"]http://crypto.stanford.edu/pbc/chunked/ch02.html[/URL] I think it shouldnt be difficult to translate c into vb.net :)

Member Avatar for tungnk1993
0
78
Member Avatar for Esmerelda

The definition of distinct is quite vague but the way I understand is 1-2-3-4-1 and 1-3-2-4-1 is different, meaning order is important. In order to find distinct cycles of length 4, you need to have 4 distinct vertices and the last vertice is the same as first. Hence, 6P4 = …

Member Avatar for nupu123
0
166
Member Avatar for vuquanghoang

The way I see the problem is shown through the picture, you can see the link or attachment [URL="http://ni6.upanh.com/b2.s15.d1/cd956edc31b0835b1aa9dec8d1dc8ce1_40970086.untitled.png"]http://ni6.upanh.com/b2.s15.d1/cd956edc31b0835b1aa9dec8d1dc8ce1_40970086.untitled.png[/URL] So, you can set two variables, int firstElbow, secondElbow; where value of 1 = up and 2 = right, 3 = down, 4 = left for example So if firstElbow = …

Member Avatar for tungnk1993
0
156
Member Avatar for tungnk1993

Hi all, I'm having an "assignment" in which one criterion is : - Inserting data into an ordered sequential file without reading the entire file into RAM I don't know how to this. Could you show me how to write methods/API/code in Java, anything is fine with me. Just to …

Member Avatar for JamesCherrill
0
722
Member Avatar for tungnk1993

Hi, I want to get the network utilization percentage which appears in task manager . Is there any libraries that provide that info ?

Member Avatar for skatamatic
0
136
Member Avatar for tungnk1993

I have seen and used many sites that offer leech service such as rapidleech. It basically lets you download file from other host very fast, but can anyone explain how exactly does it work ?

Member Avatar for pritaeas
0
191
Member Avatar for THIRUMENI

Most likely the boot file is corrupted, I think the error should appear as "Boot\BCD" . One way is to insert the original windows DVD ("Windows Installation Disc" and a "System Recovery Disc") and launch repair, it will repair the boot file for you ( from own experience ) You …

Member Avatar for tungnk1993
0
88
Member Avatar for tungnk1993

Are there any ways to get the information about windows update ( number of updates, history, status ) by using an application ? That is, to check using a software rather than manually . Moreover, are there any ways to fake/change those information ? For example, change the status of …

Member Avatar for phoenix_2000
0
171
Member Avatar for ayeshashahid

Since bubble sort is efficient, you may want to look into some optimizations of bubble sort; there may serve better purpose Example : Bidirectional bubble sort [URL="http://en.wikipedia.org/wiki/Cocktail_sort"]http://en.wikipedia.org/wiki/Cocktail_sort[/URL]

Member Avatar for ayeshashahid
-1
2K
Member Avatar for daniel1977

Is it a console program or GUI program ? Does the program receive input from file or keyboard ? If from keyboard, any indications of end of input ?

Member Avatar for WaltP
0
82
Member Avatar for tungnk1993

I encountered a css font specified like this : [CODE]font: 81.25%/1 arial,helvetica,sans-serif[/CODE] I want to know what "81.25%/1" means . Thanks :)

Member Avatar for Lightninghawk
0
71
Member Avatar for tungnk1993

Please refer to the attached image [ATTACH]22297[/ATTACH] I want to create an application which provides toolbar 'button' like BatteryBar. Thanks for your help :)

Member Avatar for samson_zed
0
172
Member Avatar for anwaryp

There's a book called "Introduction to Algorithms" , very comprehensive but also quite difficult at some point :)

Member Avatar for adam_k
-1
155
Member Avatar for inplainsite

Resize your pattern to smaller size : 1x1 or 10x10 is also fine. Then use CSS : body { background: url("images/pattern.png") repeat scroll left top transparent; } More option here : [URL="www.w3schools.com/css/css_background.asp"]www.w3schools.com/css/css_background.asp[/URL]

Member Avatar for maninaction
0
324
Member Avatar for tubby123
Member Avatar for JeffGrigg
0
143
Member Avatar for loveforfire33

As there are different resolutions, using [B]percentage[/B] instead of pixel. One possible way is to work out the pixel first, then calculate the percentage of pixel over your current resolution. This way it should look proportionally the same on other resolutions as well.

Member Avatar for tungnk1993
0
98
Member Avatar for tungnk1993

I made a button in pts and now want to use it as a button in a program. Is there any way to change the image of the button to the one i made or make it function like a button ? tkq

Member Avatar for leahrose87
0
114
Member Avatar for tungnk1993

The thing is that I'm living in hostel and they use cisco router with web authentication. Normally after successfully connected to the network, I've got to enter name & password at the browser (1.1.1.1/login.html) to get redirected. However, the problem is now is that when connecting to the router, I …

Member Avatar for tungnk1993
0
156
Member Avatar for GrimR7529

You may add in the two Else(s) below _textbox.clear() . If you have several textboxes, you may want to create a procedure to do the same for all of them.

Member Avatar for tungnk1993
0
122
Member Avatar for rongostick
Member Avatar for rongostick
0
138
Member Avatar for tungnk1993

I want to write an application that can detect whether a value in CSS/HTML file has changed or not, how can I do that ? Please post example code / import as much as possible. Tkq

Member Avatar for tungnk1993
0
177
Member Avatar for tungnk1993

I want to write an application that can detect whether a value in CSS file has changed or not, how can I do that ? Please post example code / import as much as possible. Tkq

Member Avatar for Some-Jackass
0
128
Member Avatar for tungnk1993

Can someone tell me whether I can customize this highlighted part in the attachment ( using Windows 7 )

Member Avatar for finito
0
62

The End.