588 Posted Topics

Member Avatar for Bozihome

Hi. Don't go to any school that brags about certifications you will receive from their programs. The credentials employers look for are (in this order): 1. Experience 2. Education 3. Certifications Take your money, and apply it towards a B.S. in electrical engineering with a focus in networking. Use [URL="http://colleges.usnews.rankingsandreviews.com/best-colleges/rankings/engineering-doctorate-electrical-electronic-communications"]this …

Member Avatar for Duki
0
247
Member Avatar for Duki

Hey everyone, It's been a while, but I'm back. Going to start chipping in as much as I can in C++ and anything Windows Server/Networking related. I'm starting grad school in a couple weeks, so I'm sure I'll be needing some help of my own soon. :) Good to be …

Member Avatar for jingda
0
67
Member Avatar for Duki

Is there a way I can setup my profile to automatically subscribe me to new threads I create? Currently I see there's an option to auto-subscribe on new threads [b]and[/b] threads I reply to ... but I really only want to auto-subscribe to my new threads.

Member Avatar for Duki
2
84
Member Avatar for Silvershaft

For Windows I prefer Visual Studio. I also am a huge fan of Qt, but if you're writing only for Windows platforms, Visual Studio's native support of .NET is invaluable.

Member Avatar for Stefano Mtangoo
0
468
Member Avatar for Duki

Hey everyone, We need to monitor who changes what files/folders and when they do that. Is there software that we can get to do this?

Member Avatar for rubberman
0
102
Member Avatar for lotsofsloths
Member Avatar for ichigo_cool
-1
1K
Member Avatar for ivanachukapawn

On most routers there is a reset button that you can hold in for 30 seconds or so. Make sure it's plugged up when you do it though.

Member Avatar for evita111111
0
1K
Member Avatar for Duki

I need to generate a core file for a crashing process and then read it using dbx - can anyone help me with this?

Member Avatar for nezachem
0
106
Member Avatar for Duki

Hey everyone, Not sure if this has been tried yet, but this is a game I play with my mom and brother over email... Very simple, just scramble up a word, and the first person to guess the word gets to go next. note that it won't go as fast …

Member Avatar for magicianM
0
2K
Member Avatar for christina>you
Member Avatar for jackmaverick1

I'm not sure if it's considered 'bad practice' but I typically include [code]#pragma once[/code] at the beginning of all my header files.

Member Avatar for Fbody
0
8K
Member Avatar for rdt_01

I would consider replacing your "return" statements with "break" within your switch. Then you could do something along the lines of: [code=c=++] case(1): ... ... keep buying? if (answer != y && answer != Y) break; case(2): ... ... //etc. etc. [/code]

Member Avatar for rdt_01
0
90
Member Avatar for Duki

Hey everyone, We're trying to figure out if it's possible to use winsock on an AIX system? If not, is there any native support in C++ for unix based machines and e-mail support, without importing 3rd party libraries?

Member Avatar for synxmax
0
171
Member Avatar for biljith
Member Avatar for tawes01

Might also consider [URL="http://www.codeproject.com/KB/system/arbauthentication.aspx"]this[/URL] for authentication. Also, [URL="http://msdn.microsoft.com/en-us/library/system.timers.timer%28v=vs.71%29.aspx"]this[/URL] for timers.

Member Avatar for Duki
0
106
Member Avatar for Duki

Hey Everyone, I've applied for grad school this coming Fall and would like to get your opinions on it. I'm currently working full-time at a software engineering company, and will be taking one to two classes per semester. Has anyone gone through a similar experience while working in the field? …

Member Avatar for Ancient Dragon
0
154
Member Avatar for ntrncx

Have you tried doing this in one file? Maybe that will help you understand what's going on. You can't declare an object in one file (or a method for that matter) and then expect to be able to use/change it somewhere else. Your objects are not globally accessible (unless declared …

Member Avatar for ntrncx
1
452
Member Avatar for Duki
Member Avatar for Logert
Member Avatar for Games53
Member Avatar for Duki

Hey everyone, I'm trying to do something like this: [code=c++]typedef void * socktag int gensock_connect (char * hostname, char * service, socktag * pst) { int retval; connection * conn = new connection; if ((retval = conn->get_connected (hostname, service))) { gensock_close(0); *pst = 0; return (0); } *pst = conn; …

Member Avatar for Duki
0
649
Member Avatar for sidra 100
Member Avatar for Duki
0
71
Member Avatar for Duki

What happens if I have a method declaration of: [code=c++]int method( char * a, char * b, int * c );[/code] and then I pass in: [code=c++] char a; char b; int c; method(a, b, &c); [/code] This has me a little puzzled. What values will be passed by reference?

Member Avatar for Duki
0
216
Member Avatar for sidra 100
Member Avatar for Duki
Member Avatar for Duki

Does anyone know what this is? It's in a piece of code I'm trying to debug, and I've never seen it: [code=c++] typedef void FAR * socktag; [/code] Also, could someone explain the difference between these two lines (after the typedef executes): [code=c++] socktag SMTPSock; int SMTPSock; [/code]

Member Avatar for Ancient Dragon
0
2K
Member Avatar for Duki

Can someone [B]please[/B] provide some insight on this: [code=c++] int get_smtp_line( void ) { char ch = '.'; char in_data [255]; char * index; int retval = 0; index = in_data; while (ch != '\n') { if ( (retval = gensock_getchar (SMTPSock, 0, &ch) ) ) { gensock_error ("gensock_getchar", retval); …

Member Avatar for Duki
0
128
Member Avatar for Duki

I'm not positive this is the right place to post this. We're starting analysis for converting to UTF-8 on our application. During testing, all of our test data is displayed incorrectly in visual studio - our two-bye UTF-8 characters are being displayed as two one-byte ASCII characters. Is there a …

Member Avatar for Ancient Dragon
0
106
Member Avatar for Duki

Would it be possible to have negative reputation left by someone who has been banned or is still under "newbie" status or that may be a personal attack hidden? I sometimes post questions asking for help related to an issue at work - I hand out the threads to fellow …

Member Avatar for Duki
0
142
Member Avatar for Duki

Hey everyone, My computer (nvidia fx480) is experiencing some pixelation. At random times (haven't noticed a pattern) my monitor (HP 2509m) will show green pixels in darker areas on the screen. Usually refreshing the background image or something similar with correct this, but I'd really like to get it fixed. …

Member Avatar for harrypinto11
0
96
Member Avatar for Duki

Hey all, I'm trying to write a batch file to parse a text file I have. Here's the pseudo code I'm trying to pull off: Example makefile.txt: [quote] text text text text text text text text text text text text text text text text text text text text text T1 …

0
64
Member Avatar for exekiel101

Something like this should get you started... just a hint. [code=c++]int matrix[6][6]; int cols[6], rows[6]; cols[0] = rows[0] = matrix[0][0] = 0; //Corner of Matrix .... //Populate multiplication table for (int i = 1; i <= 5; i++) { matrix[0][i] = cols[i]; matrix[i][0] = rows[i]; for (int j = 1; …

Member Avatar for civirol02
0
286
Member Avatar for Duki

Hey everyone, I'm trying to get started with SQLite. My app keeps force closing on this activity: [code=java]public class ViewActivity extends Activity { private TextView company; private BillMeDB dh; public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.all); company = (TextView) findViewById(R.id.Company1); BillMeDB db = new BillMeDB(this); db.open(); long id; id = …

Member Avatar for Killer_Typo
0
113
Member Avatar for sDanyal

Wow that's terrible!!!! I wish i could help but i don't know what to tell you!!! I hope you're not mad at me?????? Good luck on your project????!!!!!

Member Avatar for Valaraukar
0
155
Member Avatar for Duki

When I see a thread in C++, and the last poster is "Ancient Dragon" or "Narue", I just don't bother even opening the thread. It would be like Han Solo explaining The Force to someone who just got off the phone with Yoda... amirite?

Member Avatar for ~s.o.s~
0
172
Member Avatar for jelinky

Perhaps you should take another look at how you're indexing amt[] in your "lowest" function. Here's a hint: (length - 1) isn't what you want to use. amt[length - 1] is 0, and you're not going to have a grade lower than that, right?

Member Avatar for Fbody
0
132
Member Avatar for blackmagic01021

How much have you dealt with recursion and/or trees? Just wondering which answer to help you find based on the level of your coursework. Also, what are your inputs? Is X constant? Are all variables input by the user? Or are you trying to solve for X here. "Solve the …

Member Avatar for StuXYZ
0
172
Member Avatar for franchico

Perhaps something like, [code=c++] Int32 myInt = 0; if ( System::Text::RegularExpressions::Regex::IsMatch(myTextBox->Text, "^[-0-9]*.[.0-9].[0-9]*$") ) { myInt = System::Convert::ToInt32 ( myTextBox->Text ); } else { MessageBox::Show("Not a number"); }[/code] This is an excerpt from [URL="http://www.gidforums.com/t-5852.html"]another message board[/URL] on the same topic.

Member Avatar for franchico
0
5K
Member Avatar for qtl

Not to be picky here, and it has very little to do with the question you're actually asking, but don't get in a habit of meaningless variable and function names (e.g., v, n, xVec, asum, etc.). In fact, the opposite is a more industry accepted approach. I made the mistake …

Member Avatar for qtl
0
158
Member Avatar for maheswari c
Member Avatar for Duki
0
49
Member Avatar for korde

Sir, I want to get paid to do your homework. Please send a money order in the amount of $100.00 to: <<snip>> Thank you.

Member Avatar for Duki
-1
42
Member Avatar for vijaybrar

What he meant to say was, [code=c++] #include <iostream> #include <cstdlib> #include <ctime> #include <conio.h> #include <cmath> using namespace std; int main() { char ans; srand(time(0)); int randomNumber = rand() % 10+1; bool guessed = false; do { guessed = false; system ("cls"); cout << "\tThe Number Guessing Game\n\n"; randomNumber …

Member Avatar for Fbody
0
159
Member Avatar for super-duper

I'm quite sure Fbody's post will do what you want - he's just not going to do everything for you. e.g., [code=c++] const int COUNT = 5; Speaker myArray[COUNT] = [0, 1, 2, 3, 4 }; void displayInfo(int requestedItem) { if (requestedSize < COUNT) cout << myArray[requestedItem - 1].showName(); etc. …

Member Avatar for Fbody
0
414
Member Avatar for aikiart

The solution that comes to mind right off would be inherited classes with overloaded functions (you may not have reached these topics yet in your coursework). If you have, just do [code=c++] //pseudo class Time overload << ... class MilTime overload << ... class StandTime overload << [/code]

Member Avatar for aikiart
0
113
Member Avatar for hurbano

Have you dealt any with [URL="http://www.java2s.com/Tutorial/Cpp/0200__Operator-Overloading/Overloadoperatorplus.htm"]operator overloading[/URL]? I'm not sure exactly what you're asking though - are you wanting to add members of the same class (e.g., Create one large string of "Student - University - ID") or are you wanting to add members from other classes (e.g., string temp …

Member Avatar for hurbano
0
148
Member Avatar for shubhankarmayan
Member Avatar for vbx_wx

Wait.. what? Do you want it to be cleaned up? Or are you trying to demonstrate how it's not cleaned up? I'm confused.

Member Avatar for Narue
0
71
Member Avatar for chilambu

I'm amazed how often users wind up here, when undoubtedly [URL="http://tinyurl.com/2w6xygl"]searching Google [/URL]for their question. Don't get me wrong, I (like most of us here) enjoy giving advice for free, and enjoy receiving it equally as much. But there's a point when you have to realize, reading for yourself is …

Member Avatar for Duki
-1
114
Member Avatar for ThrasherK

Instead of doing a switch() on [B]id[/B], how about doing a switch on the menu choice? Then, it would be very simple to create a few functions that take the [B]id[/B] as a parameter to do what you want. e.g., [code=c++] //pseudo switch(menu_choice) { case 1: CheckBalance(id); break; case 2: …

Member Avatar for Duki
0
209

The End.