420 Posted Topics
Re: So, is the wireless connection working? have a look here for more info [url]http://practicallynetworked.com/sharing/[/url] | |
Re: Why don't you just import the accounts over to one machine? This will save you alot of hassle, and you'll get to keep your contact lists, saved emails, etc. Since I don't use outlook, I don't know the exact procedure to do this on outlook (But its very easy on … | |
Re: Not seeing anything wrong in device manager doesn't necessarily mean you have the correct driver, it just means that windows can't see any problems (This is often the case when windows installs some generic driver from its own database) - have you attempted to install the latest driver from Abit's … | |
Re: Well, a bitwise AND operation is performed using the '&' operator between two numbers eg, [CODE=CPP] int n = 6 & 12; // 0000 0110 // & // 0000 1100 [/CODE][I]'n'[/I] will be 4 You'll need to know about Bitwise operations - (Binary arithmetic) [url]http://en.wikipedia.org/wiki/Bitwise_operation[/url] In C++, the [I]<bitset>[/I] library … | |
[B]Intro[/B] The focus of this tutorial is the code relating to decision making and selection, and not the I/O code. I [U]do not[/U] advocate using scanf() in this way for anything other than testing blocks of code in 'toy' programs. If you feel the need to use scanf() when writing … | |
Re: [QUOTE=Ravalon;297177]It's also not allowed. The language standard doesn't let you redefine keywords.[/QUOTE] Actually, I don't think there's anything which stops it. Consider the following code [CODE=CPP]#undef private #define private public int main() { } [/CODE] On at least 2 different compilers in strict mode, this compiles without error nor warnings. … | |
Re: What sort of ethernet cable did you use to connect the switch to the router? did you use a crossover or a straight-through? Do the four ethernet ports on your router allow the router to act as a switch? (In other words, are the workstations who plug directly into the … | |
Re: I'm no expert with scanners/printers/etc, but do you mean you reinstalled the HP software? or the java platform? (Is this even a software development problem?) It may be worthwhile making sure you have the latest versions of both. Official java website - [url]http://java.sun.com[/url] Hewlett Packard = [url]http://www.hp.com[/url] Failing that, I … | |
Re: [QUOTE=rbinc;298309]I have to put the following block of code in a loop. It is to display a 10x10 array that will hold char values for a message encrypted in a transposition cipher. I have not been able to figure out a loop or a system of loops that can do … | |
Re: [QUOTE=mpakala;299379]thanks a lot for your response. I was about edit my post. Actually I have vector of container class pointers ( eg: vector<container* > ops; ) . So I guess I can make those pointers to point to non-homogenous objects. All Iam saying is that since vector stl requires the … | |
Re: [QUOTE=solomonski;298804]Would anyone know the command to block tcp/ip traffic through a port, ie port 1863 on a cisco 1601 ?[/QUOTE] Which interface? (ethernet? serial?) .... and which direction? (Inbound/outbound) For cisco routers, you usually need to set up an Extended Access Control List (ACL) to block specific ports. Then you … | |
Re: It may help if you elaborate on "Doesn't work on a non-development PC" ... What sort of error did you get when you tried to run it? (Assuming you got an error) What kind of app did you create in VS2005? - Was it a Win32 console app, or something … | |
Re: Well, that was predictable.... :rolleyes: [url]http://www.todayspatio.com/images/odls_park_bench3.jpg[/url] | |
Re: [QUOTE=nitinmoriwal;298569]thanks for your answer. i wanted to know, do we have any conversion function in C to convert ascii to long double as the same way we do for atof()?[/QUOTE] You've already been shown how to do it in both C and C++ - whats wrong with those methods? | |
Re: [QUOTE=jbennet;298275]most nobs would be lost witha book by say, oriely or mspress so its a good idea to get them interested with something like sams or for dummies then step them up when they have a basic understanding[/QUOTE] That doesn't necessarily say anything about "for dummies" or "sams teach yourself … | |
Re: [QUOTE=apurv;298127][COLOR=blue]Write a program that, when run, will print out its source code. This source code, inWrite a program that, when run, will print out its source code. This source code, in turn, should compile and print out itself. turn, should compile and print out itself.[/COLOR] :p[/QUOTE] Sounds like a virus … | |
Re: Every motherboard is different, but this is almost certainly something you should be able to disable in the BIOS. Check your motherboard manual, or the motherboard manufacturer's website, and it should tell you how to change it. | |
Re: Rather than sharing an entire drive or partition, perhaps you could just share a folder? To partition the drive you generally need to reformat the whole thing, and reinstall Windows from scratch, unless you buy a copy of Partition Magic (or some similar program). | |
Re: If they're both connecting to the router, then there's nothing wrong with the network - you need to configure both machines with File & Print sharing, and enable NetBIOS over TCP/IP. look in the properties for the network connection on both machines, and make sure File & Print sharing is … | |
Re: I assume the feature you're talking about is MSVC++'s IntelliSense. You should be able to show the list by pressing CTRL+J after the scope operator for classes/namespaces, or the period operator for objects. [I]Note - This works in MSVC++ .NET 2003 SE. If it doesn't work for your version, check … | |
Re: The class is fine (And data members should always be private unless you have a compelling reason to do otherwise. since that stops them being accidentally modified by external objects or functions ). Perhaps you could find other ways to use your point objects which don't involve getX() and getY() … | |
Re: C++ can do anything which you could do from the command prompt, using the system() function - eg, (Assuming some version of DOS or Windows) [CODE]system("dir"); //DOS Command to show a directory listing system("pause"); //DOS command to make a pause happen [/CODE] | |
Re: In order to parse the string properly, you need to have some way to identify where each record begins and ends. You could do this by adding some kind of delimiter character (One which won't be used in any other part of the string), eg, using a delimiter of '[COLOR="Blue"]$[/COLOR]' … ![]() | |
Re: [QUOTE=syruspayne;294325]Hey, am very grateful to you all for the contributions. Lerner,thanks a bunch, cos u really made me try to get the logic behind d fabonacii series.Even after giving up.Now i know how to get the other nos in d series but my problem is outlinin it in the if-else … | |
Re: Is your onboard ethernet controller sharing its IRQ number with any other onboard devices? (Such as one of the SATA controllers perhaps?) If so, see if you can disable any unnecessary onboard devices in the BIOS to free up some IRQ numbers. This should cause the BIOS to reassign one … | |
Re: [QUOTE=Ravalon;295992]Your random_shuffle() uses rand() to generate the shuffle and rand() is always seeded by default to 1. You can just change the seed each time and get something different. [/QUOTE] Edit - sorry, I misunderstood your post Be careful with how you phrase that bit of advice. Seeding rand with … | |
Re: Which language are you learning, C or C++? (The two languages are very different) and how far have you managed to get with the problem? you're likely to get more useful feedback if you post your attempt at a solution so far. One way to begin with a task like … | |
Re: I guess he used the [COLOUR=WHITE] tag.. I'm not sure why Daniweb even has this, since AFAIK, its not possible to change the background of posts (Probably a good thing...) I imagine a few other colours on that chart would be pretty nasty to read aswell... Maybe that rule should … | |
Re: There's a whole load of ways you can do this - depending on the way the rest of your program works, one way you could achieve this would be to set some constants, eg, [CODE]const int ace = 1; const int jack = 10; const int queen = 10; const … | |
Re: Correct, this sort of thing is known as short circuit evaluation. it also happens under logical OR evaluation when the left-hand-side of the expression yields 'true', ie[CODE=Java]if ( true || false )[/CODE]The program knows that there is no need to evaluate the right-hand-side, since the result of the boolean expression … | |
Re: [QUOTE=Ancient Dragon;294242]how fast can you talk? why can't you talk any faster?[/QUOTE]icantalkreallyfastjustthatnoonecanunderstandme.. :rolleyes: | |
Re: Using binary arithmetic operators in C++ :) [CODE]#include <iostream> int main() { int a(0); while(a!=10) { int r,c, b(1); do { r=a^b; c=(a&b)<<1; } while( (a=c) && (b=r) ); std::cout << (a=(r?r:c)) << '\n'; } } [/CODE] | |
Re: In answer to the majority of the questions you've posted - Standard C++ has no way of directly interfacing with hardware - such tasks are beyond the scope of the standard. You'll need to visit documentation for your compiler/implementation. Yes you can create programs for virtually any platform - which … | |
Re: Did you remove all the traces of the old drivers before installing the new card? and does windows device manager show any conflicts? What's connected to your IEEE1394 (Firewire) port? do you even use it? if not, you may want to disable it in the BIOS, in case its conflicting. | |
![]() | Re: The problem is probably Borland 3.1 - I see no reason why this code shouldn't compile in either C or C++ (it worked fine using Comeau online in strict mode). I would reccomend talking to your teacher and asking why you are being taught an outdated version of the language … |
Re: I've never read Dietel & Dietel, but judging from the ACCU review, that book would be a poor choice, and you'd end up learning out-of-date C++ (That's a very [U]bad[/U] thing!) [URL="http://accu.org/index.php/book_reviews?url=view.xqy?review=cp003204&term=beginner's+c%2b%2b"]http://accu.org/index.php/book_reviews?url=view.xqy?review=cp003204&term=beginner's+c%2b%2b[/URL] I'd suggest you have a look at the ACCU site before shelling out any money whatsoever - the … | |
Re: [QUOTE=Ancient Dragon;291539]Oh? show me someone who hasn't died of something:cheesy:[/QUOTE] to quote the late, great Bill Hicks - "All you health freaks out there are going to feel pretty stupid on your death beds dying of [I]nothing[/I]" ;) | |
Re: [QUOTE=kenshihimura;292599]VB c++ is visual basic c++ don't ya know?[/QUOTE] So which one are you programming in? Visual Basic or C++? or are you attempting to learn 2 languages at the same time? | |
Re: [QUOTE=Ancient Dragon;292288]>>How long is a piece of string? depends on where you cut it with your scissors. (sorry for the bad joke, I just couldn't resistet temptation :eek: )[/QUOTE] Its twice as long as half its length, of course ;) | |
Re: Aside from being difficult to read against that background, an awful lot of that makes no sense, is innacurate or completely wrong. [QUOTE] return type of main and any function is defaulted to int.(0 if success and 1 if failure)[/QUOTE]return types are never defaulted to anything. the standard specifies that … | |
Re: [QUOTE=Roobyroo;291332]In trying to map a network drive from "My Computer" and then "Map Drive", it's not finding my shared folder on my old laptop. Basically I'm trying to map a drive on my new laptop to the "C" drive on my old laptop to share data between them. I know … | |
Re: [QUOTE=Corporal;291664]Is it possible to share a printer over a wireless connection? If how, could you please help me. Thanks.[/QUOTE] Assuming your OS is some flavour of Windows, then the same service which you use for sharing drives and folders can be used to share printers. On the machine which owns … | |
Re: Such a program is known as a 'Quine' - see here for more info [url]http://en.wikipedia.org/wiki/Quine_%28computing%29[/url] | |
Re: [QUOTE=sdillinger;290022]Dragon- I will include my full code below, I had edited out a few things for brevity. Why do you not construct the Opra_record here: Opra_record* rec; // = new Opra_record; Is there a implicit construction somewhere? [/QUOTE]Is there any reason why 'rec' is a pointer? It seems to me … | |
Re: [QUOTE=Ancient Dragon;289938]never used one so I have no idea. So a strap breaks, so what? what happens? do you get electricuted or something? >>breaking and it slipping out of their hands, causing damage to TV's, windows, lights and people, amongst others Ok, lets say you are holding one of those … | |
Re: [QUOTE=ulm_quest;288338]Hello Friends, I am in my final semester of IT course. Need to make a project & i have though of Flight Rerservation system and worked out some outlines as well. But now i am badly stuck with some problems.. well the list is quite long:sad: . But most importantly … | |
Re: [QUOTE=MartinGM1983;288358]Hi, I'm new to this forum and I'm really interested in futhering my education into computer technologies. I'm starting school again...and I don't like talking to my school counselor because I always get the feeling that they don't want to really spend their time giving me a hand or don't … | |
Re: [QUOTE=Cnaly;288667]Could someone help me? I have an [URL="http://www.daniweb.com/techtalkforums/post285021.html#"]file[/URL] in which a list of employees and salaries are listed for each year ex: Year: 2005 No. of Employees: 3 Employee ID Salary 123456 36000.00 123567 32000.00 123678 33000.00 Year: 2006 No. of Employees: 4 Employee ID Salary 133456 31000.00 133567 32000.00 … | |
Re: What do you mean by "on screen"? do you mean..[LIST] [*]Output spanning the entire screen? [*]In a window? [*]Across the command-prompt background? [*]On the screen of a PDA/Phone or other mobile device? [*]Something else? [/LIST]Standard C/C++ has no concept of BMP files, nor any kind of video display output (Nor … | |
Re: For a crossover cable: End 1 : T568A Pin 1 - Orange/White Pin 2 - Orange Pin 3 - Green/White Pin 4 - Blue Pin 5 - Blue/White Pin 6 - Green Pin 7 - Brown/White Pin 8 - Brown End 2 : T568B Pin 1 - Green/White Pin 2 … |
The End.