Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

23 Posted Topics

Member Avatar for addicted

Well, depending on the Operating System, the easiest way IS to make a system call. [code] system("clear");[/code] I use this when developing Character based User Interfaces on UNIX as well as LINUX. The same will work in PERL. There is no need to create a screen clearing algorithm character by …

Member Avatar for Bob
0
2K
Member Avatar for IwalkAlone

Here is a code fragment which will assist you: [code] #include <stdio.h> main() { #define ADD 1; #define SUB 2; #define MUL 3; #define DIV 4; char response[10]; char dummy[2]; /*** scanf trick buffer ***/ int first_op, secnd_op, operation; /* query user */ printf("Please enter first operand.....\n"); printf("calc:==> "); scanf("%d",&first_op); …

Member Avatar for lokeshg
0
2K
Member Avatar for kxh29

Hello All: I want to create an array of structures like so: [CODE] #define MAX 10 struct hash_tbl { int key; int data; }; struct hash_tbl hash_array[MAX], *ptr; [/CODE] Now, I am having some issues in attempting to "loop" through my array of structures and just generate the some data …

Member Avatar for kxh29
0
250
Member Avatar for kxh29

Hello Team: I have users who use Reflection-X (we are on AIX 4.3)when execution our application software. If they do not "back out" of the application (... Select X on the various menu screens...) gracefully, and just "click" on the "RED X", in the upper right hand corner of the …

Member Avatar for krisoccer
0
137
Member Avatar for kxh29

Hello All: Just wanted to inquire about Visual Basic. As I understand it, it is a tool to create GUI's on windows platforms. I would like to know where I could find an online tutorial for novices. Also, does VB, can VB interface with Sybase Databases using TransAct SQL....???? Thanks …

Member Avatar for bruce2424
0
143
Member Avatar for kxh29

Hello All! I am trying to do something simple. Which is why our application is failing miserably;) Anyway, I am attempting to use the itoa() - integer to ASCII function to convert an integer value, lets say [B]123 [/B]into [B]"123"[/B]. The code compiles successfully, however during the linking, it says …

Member Avatar for Radical Edward
0
111
Member Avatar for kxh29

Hello All: I have just performed a "System Restore" on my HP-PC. I am running XP with SP2. I was attempting to remove some unwanted processes on startup via MSCONFIG. When I selected those processes I did not want during the boot sequence, I received a message that "You must …

Member Avatar for ramjo
0
112
Member Avatar for kxh29

Hello All! I just recovered my PC using the "system restore". I have an HP-PC with with WindowsXP(SP2). I executed the virus removal process from a2-squared and after the restore everything looked fine. I went on to execute the MSCONFIG and remove alot of stuff on startup. (...When I was …

0
48
Member Avatar for kxh29

Hello All! I am running AIX4.3 UNIX OS. I am developing using the C-Programming Language. I have inherited code which creates a dialog box. [code] dialog(box_height, box_width, position_x, position_y, "message")[/code] The requirement [B][I]now[/I][/B], is to place a list of say numbers in the box and grow it dynamically. Problem is, …

Member Avatar for Ancient Dragon
0
132
Member Avatar for kxh29

Hello All! I have an HP-PC using XP-SP2. I have Spysweeper with AntiVirus from WebRoot. My son was doing his homework and downloading pictures for his classroom assignment. Well......you know the rest of this story:'( I have attempted to run in SAFE MODE with networking and re-run my Antivirus. I …

Member Avatar for bobbyraw
0
128
Member Avatar for kxh29

Hello All! I would like to create a message box from one of my "C" applications. I have looked at prior posts and received a snippet such as this one: [code] #include windows.h MessageBox(hwnd, "You have bla bla", buffer, MB_OK);char buffer[100]; [/code] Well, the problem is that during the build …

Member Avatar for Aia
0
1K
Member Avatar for jan1024188

[QUOTE=Narue;364433]Yes, assuming this is C you would use sprintf or something equivalent to format the points into your string: [code] char buffer[100]; sprintf ( buffer, "Total points: %u", points ); MessageBox(hwnd, "You have bla bla", buffer, MB_OK); [/code][/QUOTE] Hello Team: I would like to create a "message box" to print …

Member Avatar for Aia
0
128
Member Avatar for chikyong

An algorithm is a set of instructions, usually performing a specialized function within an application. The psuedo-code is english-like statements used in the formulation of source-code.

Member Avatar for kxh29
0
56
Member Avatar for kxh29

Hello All: I have a question: How can you perform Password Administration using "C-Programming" functions. Basically, we [B][I]had [/I][/B]UNIX Shell script that performed the following: 1. Got the current users password. 2. Did a time computation on it - had it expired yet, and when it will 3. Queried if …

Member Avatar for TkTkorrovi
0
122
Member Avatar for kxh29

Hello All: I had started an earlier thread and did some searching and found the "getuserattr" and "putuserattr" subroutines which access the user-DB. Does anyone have any experience using these calls and how to implement them correctly? Thanks as Always!

0
59
Member Avatar for kxh29

Hello All: I am attempting to do a loadtest on a process which is "suspect"... Does the following code generate multiple instances....???? [code] for ($i=0; $i <= $iteration; $i++) { printf(" Executing Iteration:==> %d\n", $iteration); system ("master_menu &"); } [/code] As you can see, I run the execution in background. …

Member Avatar for KevinADC
0
87
Member Avatar for generalGOTCHA

Here is a link which may assist you: [URL="http://www.webmonkey.com"]www.webmonkey.com[/URL] They have a pretty dedicated site on Web, Web based interfaces,etc...

Member Avatar for kxh29
0
781
Member Avatar for bar891

[quote=bar891;346878]I have written my first perl script but something is wrong. When i try to run it direct it just open up notepad with my script in it. when i open from the web it comes back 404 page not found. It is a form script on a webpage. Could …

Member Avatar for tenaciousC
0
125
Member Avatar for iamthwee
Member Avatar for John A
0
2K
Member Avatar for kxh29

[B]Team:[/B] [B]I have a date which comes in the format of mm/dd/yy.[/B] [B]Example: 08/01/00[/B] [B]Now, I have my regular expression to check for this in this[/B] [B]format.[/B] Example: $result = $start_date =~ /(\d\d)\/(\d\d)\/(\d\d)/; So, when I enter a date in the format of 08/01/00, the result is success, or a …

Member Avatar for KevinADC
0
125
Member Avatar for kxh29

Hello All: I have been "wacked" a few times by viruses, and I have used HiJack This to fix most if not all of the problems. Question: What is the [B][U]baseline that is used [/U][/B]to compare what HiJack This reurns..??? I mean, is there a file out there on tells …

Member Avatar for gerbil
0
115
Member Avatar for kxh29

[B]Good Day to All:[/B] [B]I need to know if there is a code snippet somewher that will allow me to take a users START DATE and give them a maximum of seven(7) for a END DATE.[/B] [B]Problem is, on my AIX box, we DO NOT HAVE THE Date::Calc Perl Module.[/B] …

Member Avatar for kxh29
0
137
Member Avatar for rodreric

[quote=Johnathan;335734]I would say try booting into safe mode then insert the windows disk that came with your pc. Then use the auto repair function on it. Another useful thing is the restore feature if you know when the problem began restore to befor that point. There are many things that …

Member Avatar for kxh29
0
168

The End.