- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
Student
22 Posted Topics
Hello! Well, today there was a technical presentation by some students in my school so there was this discussion about NIC's. So somebody came up with a question that what's the difference between ethernet card and network interface card..! So that guy replied that ethernet card's different in sense that … | |
Well, today I had my C++ viva at my school..and I screwed it up!! The answers to this question which I was asked may be easy but I couldn't get it..Few questions of which I haven't got the answers yet-- 1. [CODE]class A { public: int a; int b; };[/CODE] … | |
Hi My computer got infected by trojan horse Generic3.nsr , it was detected by AVG antivirus. It's converted all the folders that I opened since my computer got infected into application files of 37 kb. How should I get rid of this trojan horse? Thanks. | |
Hi.. I have to make a program in c++ for plotting a sine curve..using arrays ..in horizontal direction not vertical .. can I have an alogarithm or just a hint how to go on making ...thanks :) | |
Hey! I just wanted to know that if there is any builtin function in c++ that converts a decimal number into binary number?? | |
Can somebody please tell what does this function prototype indicate-- [CODE]const char* fun( char const *,const char*);[/CODE] Is it some thing like that the return type would always be constant char ? And what is the difference in the two declarations-- char const* and const char*? Thanks | |
Today I had an exam and in that there was a question to differentiate between type casting and type conversions...Are they actually different?? I always thought they were same... :?: | |
In the following code I am giving an int value to class using type casting-- [CODE]#include<iostream> using namespace std; class A { int a; float b; public: A() { a=0; b=0; } A(int m) { a=m; cout<<"\n values are"<<a<<endl<<b; } }; void main() { A a1; a1=1; }[/CODE] The members … | |
Re: Initialize totalpoints with 0 [CODE] int grade; int totalpoints=0; int numberofgrades = 0; [/CODE] | |
Re: Is it actually possible? Because everything is relative so to find minimum or maximum we got to compare it with other and for that comparison operators have to show up? :confused: | |
Re: It prints "NO" because the condition you have given is a<0.7 not a<=0.7. Since a=0.7 it gives output as "NO" . | |
Re: What's the solution? I mean how do you access the variable inside the main from the inner block? | |
[CODE]#include<iostream.h> int main() { enum flag{ x=1,y=2,z=4,e=8}; flag f2=flag(99); // out of range return 0; }[/CODE] In this code the range of flag is 0:15 but it still compiles when 99 is entered which is out of range!! | |
I have a doubt regarding constructor in this program-- [CODE]include<iostream.h> class A { private: int a; float b; A(int j) { a=j; cout<<"\n a is"<<a; } public: A() { cout<<"\n Default constructor invoked\n"; a++; b=0; } A(int j,float i) { a=j; b=i; cout<<"\n value"<<a<<"and"<<b<<endl; } public: void show() { int … | |
Hey! Recently my wireless router stopped working due to some electrical trouble with it.So for the time being I was trying out ad hoc networking(My knowledge about this is really meager).My desktop has Linksys wireless G PCI adapter and my laptop is centrino..both having win xp as operating systems. I … | |
Hey! I have a desktop computer(win xp) and a laptop(centrino-win xp pro).How can I setup a wireless network at home between these two so as to share internet which is again a cable network and is connected through a gateway.I have got linksys wireless router 54 mbps b/g. | |
Hey all my computer is currently messed up with this about:blank virus..it's residing in.. res://%43%3a%5c%57%49%4e%44%4f%57%53%5c%53%59%53%54%45%4d%5c%47%41%46%4b%47%2e%44%4c%4c/ Can anybody decode this..there's this site which decodes but I don't remember the name.. I am also copying the logfile too-- Running processes: C:\WINDOWS\SYSTEM\KERNEL32.DLL C:\WINDOWS\SYSTEM\MSGSRV32.EXE C:\WINDOWS\SYSTEM\mmtask.tsk C:\WINDOWS\SYSTEM\MPREXE.EXE C:\WINDOWS\SYSTEM\MSTASK.EXE C:\WINDOWS\SYSTEM\STIMON.EXE C:\WINDOWS\EXPLORER.EXE C:\WINDOWS\RUNDLL32.EXE C:\WINDOWS\TASKMON.EXE C:\WINDOWS\SYSTEM\SYSTRAY.EXE C:\WINDOWS\SYSTEM\RESTORE\STMGR.EXE C:\PROGRAM … | |
I am learning C++ and I have done Pointers..but I am not able to understand it well. I know what is it but I am not able to understand exactly why do we use rather where do we use it. :confused: .basically it's the practical implication of it which I … | |
Hi.. I have to make a program in c++ for plotting a sine curve..using arrays ..taking x axis in horizontal direction and y axis in vertical direction... Please help me out in making this program :) thanks |
The End.