No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Experienced software engineer: C, C++, C#, TCP/IP, threads, etc.
- Interests
- Ask me
- PC Specs
- 2K Server, XP Professional (2), 2K Pro (1)
28 Posted Topics
Re: [color=teal]The joy of barcode readers. I have worked with serial readers and basically as long as you can read from a serial port and detect Start and End of Text you can usually frame the data. With that said the wand when inserted into the well or whatvever will dumps … | |
Re: Only one consideration in my mind: HALO3 and it runs only on X360 | |
Re: XOR is a assembler command. So... it executes very fast. Inside of C++ or worse C#, it will be a translation but you in C++, at least it will translate directly. Compared to swapping by using 3 variables, this is akin to MOV operations on the processor which are generally … | |
Re: [QUOTE=Nicris;828327]Hi every1 ........ i am new to socket programming and TCP/IP V have to do a package in it........ Suggest me some topics and some reference books which would b helpfull for socket programming............ :-/ some1 plz help[/QUOTE Look on codeproject.com for sample code | |
Re: [QUOTE=death_oclock;822605]Is there any way to force fwrite() to write in big-endian format no matter what? I am trying to write a MIDI file and they are always big-endian. Converting every value I write to big endian beforehand would be extremely tedious. Ideas?[/QUOTE] It would be a better idea to keep … | |
Re: We used to use TSD Magic and we also have the 800 pound gorilla of Help Desk, aka Remedy but the one we actually use in my shop is the custom Siebel Help Desk my engineers built. Took them about a week. A good chunk of functionality is out of … | |
Re: [QUOTE=msr;483969]I know this thread is "a little bit" old, but i would like if you can help me. Im using sprintf(). This is my code: [CODE] int countDigits(int inteiro,int max){ char *string; string = (char *) calloc(max+1,sizeof(char)); sprintf(string,"%d",inteiro); return strlen(string); }[/CODE] However if the first digit of "inteiro" is a … | |
Re: Sounds like your system may be hosed. I have seen plenty of Windows going south ever since Windows 3.0. Sure XP is newer but when it system DLLs are corrupted through whatever means (malware or a errant program) then you are often left with a problem that can manifest itself … | |
Re: Line 68, change the scanf to use one variable per format specifier. Otherwise you program may be hosing the stack and giving you u unpredictable results | |
Re: When you fopen() a file the first argument is the File Name and the second argument is the file mode. For example, lets say we had a file name called "Foo.Bar". We would do the following: [code] File *fp = fopen("Foo.Bar", "w); fp->write(.... fp->close(); [/code] | |
Re: You should always kill the threads as the finish up the work. So you need to join the thread in order to stop it. Threads can provide significant overhead if left to run wild so make sure you clean up all threads in your exit handler. | |
Re: [COLOR=Teal]Before you choose a language first decide what you plan to support in your IVR application. For one, any device drivers (e.g. Dialogic interface code) is typically done in C/C++. Also, a IVR system needs to be real-time so this against is best served by C/C++ ... for the core … | |
Re: [color=teal]Not sure what the benefit is bacuse you can always customize or delete the Forms code. BUT... if all you want to do is start from scratch then simply create blank project and you can code away until your heart is content. Happy coding![/color] | |
Re: [COLOR=Teal]In .NET the advantage of C# over VB or J# is less impotantant that you would think because of the CLR. However it is still notable if you need to call Win32 functions in a clean manner, or perform address manipluations, or if you are coming for either a C/C++ … | |
Re: [COLOR=Teal]Hey Autocrat, here is what I did to make it simple for me to get going with prototyping and development. One - I have a W2K server and LAN. So I installed MySQL on the server, created databases, accounts, etc. and verified I could access the database, etc. Once that … | |
Re: [color=blue]The only viable way to begin this application is with a solid data definition and schema for your Voter's database. You need to provide a User Record with such fields as Name, Address, City, State, Zip, and Telno. You may need to treat all those fields as part of an … | |
Re: [COLOR=Teal]Take a look at [url]http://www.calculator.org/rpn.html[/url], I think this will help you fill in the gaps. Good luck![/COLOR] | |
Re: [color=blue]Whenever you use _POST make sure you preface the logic with a statement like:[/color] [color=green]if (isset(_POST['submit']) {[/color] [color=green] .[/color] [color=green] .[/color] [color=green] .[/color] [color=green]}[/color] [color=blue]Now in your HTML form make sure you specify POST as the method. Generally speaking as long as your server is PHP enabled and the action … | |
Re: [COLOR=Teal].NET includes security thru the Framework. Thus you must have a compliant version or else the secuity profiles don't match up. If you install on a XP or 2000 machine there is no gurantee that .NET Framework has been installed. You must therefore ensure the target platform is configured or … | |
Re: [COLOR=Teal].NET for writing TCP servers requires that you use a multi-threaded approach. However this is easy to do so you should be able to achieve good performance on P4 class machines. At the packet level it depends on whether your PDUs are ASCII or binary. If ASCII the stream functions … | |
Re: [COLOR=Teal] :lol: Single step the code with your debugger. That will reveal exaclty where it is choking and how. BTW, the while loop has a subtle defect.[/COLOR] | |
Re: [COLOR=Teal]A script can call itself by: $PHP_SELF (v4) or _SERVER['PHP_SELF'] (v5). To make it happen in HTML, you simply need to add a statement like: <form action="_SERVER['PHP_SELF']" method="post"> Make sure you use the appropriate conditional so that the script does not get in a loop, i.e. if ($safe_to_proceed) { ... … | |
Re: [COLOR=Teal]You should nip out to the command line and fire up mysql logging in as root or approriate access for table management and grant access. You can then SELECT username from mydb or similar to list the users in your database. From there pay attention to the user suffix, i.e. … | |
Re: [COLOR=Teal]IMHO, definitely upgrade MySQL if you can (depends on data migration basically). Just remember the later the version the more stable and feature rich the release. One other thing about connecting to MySQL or any other SQL server for that matter. However if your data set is small or reproducible … | |
My simple HTML script below uses SELECT to create a list which should be accessed by the PHP script as an array. Note the `products[]` definition below. BUT.... I can't seem to get the script to read the array from` $_POST` - anyone know how to solve this? <HTML> <TITLE>Input … | |
Re: [COLOR=Teal]I highly recommend picking up a book or ebook on DNS.[/COLOR] | |
Re: [COLOR=Teal]Before you start cooking up PHP, ASP, PERL or other scripts I highly recommend making sure your User Access to your database is viable. To the point use MySQL Administrator or MySQL QueryBrowers or if you prefer the cmd line you can use mysql.exe Make sure the Users have been … |
The End.