193 Posted Topics
I committed a typographical error in visiting a site. I was directed to this site -> [URL]http://www.freewebs.com/gulong[/URL] which has junk characters that looks like a virus T_T. I scanned all my drives, but no viruses where found. I'm paranoid because the server's firewall might have detected, if there was, a … | |
Re: im using GNOME too...lalalala... and i have'nt experience any difficulty using it... | |
Hello there, anyone here knows what is the function or library in Linux that corresponds to the win32 functions/library given bellow. library - #include <Windows.h> functions - GetDiskFreeSpaceEx()、GetFileAttribute()、GetModuleFileName()、GetFileVersionInfoSize()、GetFileVersion( ) Thank you! | |
Re: [quote=Covinus;389210]ive learned it the hardway. from scratch i have to do intermediate programming modules in a day or two. (the basics are just inserted during research time) <- this is not a good idea [/quote] Same experience with me, which is veeeerrryy baadd... | |
Hello there, is there a scsipt.h version for Linux? I've been looking for this because I really need that header file. | |
Re: [quote=tech291083;296699] 5. Programmers are always under pressure form the managers and management and often feel being neglected and underpaid and overused. If this is the case, what could be the solutions? [/quote] as a trainee, i get a fair salary...and im just learning and learning, hassle free...:) | |
Hello there, just a question, what do you think is the purpose of this flag to this block of code... [code=c++] void CDriveControl::Trace(bool bAt, char *lpszFormat, ...) { #ifdef _DEBUG va_list args; va_start(args, lpszFormat); printf(lpszFormat, args); if( bAt) { fflush( stdout); } va_end(args); #endif } [/code] I've been wondering, why … | |
Hello there, I've encountered a syntax in one of the examples I'm studying. [code=c++] *pStatus = *pStatus | DC_ST_DISK_IN | DC_ST_TRAYCLOSE | DC_ST_WRITING; //<--notice the "|" [/code] Is this a form of piping? Like in bash script in Linux which supports piping in there commands? uhmmm.. What does it imply, … | |
Hello there, I've been googling around about the definition of SPTI (SCSI Pass-Through Interface). It is somehow related to c++ since it is use to manipulate a drive using the c++ language. Is someone here knows the definition of SPTI, or simply explain to me briefly what it does. Thank … | |
Hello there. I have here a constructor of class CDriveControl and class CSPTIDriver.. [code=c++] class CSPTIDriver; class CDriveControl{ public: CDriveControl(); CDriveControl(const char* pPort); ...... ...... protected: char* m_pPort; CSPTIDriver* m_pSPTIDriver; bool m_bInitFlag; bool m_onlycomp; } [/code] It was defined outside the class. [code=c++] CDriveControl::CDriveControl(void) :m_pPort(NULL) //Object drive ,m_pSPTIDriver(NULL) //SPTI object … | |
Re: How about googling around. There are websites (maybe) that could give you such awful problems for you to practice. *chuckles* | |
Hello there, I just want to ask if any of you guys here had experienced writing hardware controllers (dvd-rom, hard disk) using scsi protocol-multimedia commands. I just want to know your suggestions or maybe tutorials or example codes to well experienced in mmc (both windows and linux :)) that would … | |
...but i was not able to introduce myself...im jaepi and i love to eat, sleep and repeat...*bow*...lol | |
Re: [URL]http://www.daniweb.com/techtalkforums/announcement8-2.html[/URL] | |
Re: You can check this out. This answers your question on how to write graphics program. [URL]http://www.gtk.org/tutorial/index.html[/URL] If you mean of graphics as an interface. [QUOTE] hurry up [/QUOTE] What's up with that? | |
Re: your ABC111, DEF112, XYZ113 has no value...it will just continue to execute the do{} since the the while is giving off false boolean value...try giving it a value... try this 1 and study the result... [code] void inputAndValidate(string &moduleCode,int &numberHours) { string ABC111 = "x"; do { cout << " … | |
I've been reading a lot since Monday (mostly socket programming in Linux) and all I get is creating basic socket servers (like echoing, hello world and stuff). My task is to create a web server and all I can see are socket server tutorials? Am I gone or something? Could … | |
Hello there, I'm currently practicing network programming under Unix system. I have here a sample code from the tutorial. I compiled it, it has no errors. But when I execute it, it prompts me this "connect: Connection refused". What do you think is the problem. Here's my code: [code=c++] #include … | |
Re: what about this [code] float fahrenheit =(celsius*(9.0/5.0))+32; [/code] no need to type cast | |
Re: i don't know if this will work...just try this one... you have a string from the command line, you store that string into a variable then convert it using atoi() function [code] string command_line_arg ="1234" int x; x = atoi(command_line_arg); [/code] don't forget to include the header <stdlib.h> works well … | |
Re: Self study and lots of self study. Experiential types of learning is the best. We both have similarities and I'm investing my time reading and asking help to experts here to things that I'm not sure of. And oh, I agree wtih [i]mariocatch[/i]. | |
Hello there, I'm currently working on to some interface using gtk. I'm using PuTTY, doing programming remotely, cause I was told not to use the Linux server unit for surfing, so I'm using the windows unit for internet surfing and at the same time programming by the use of PuTTY. … | |
Hello there, I've been studying c++ for about a month. Currently, I'm indulging my self to pointers to be used in classes and functions because i have to familiarize myself with threading. Any of you here knows some good tutorials in threading, preferably html based tutorials. Or, suggestions on what … | |
Hello there, I'm practicing structures and accessing data in a structures. I have here a program that gets an input of string and int from a user. I placed it inside a loop where every time the loop refreshes, it changes the information it gets. My problem is, how do … | |
i have here a code that uses pointers to manipulate data in a class...i have a problem of how to show them on screen...i think im using an erroneous syntax...lol... [code=c] #include <iostream> #include <string> using namespace std; class MyClass{ public: string first_name, last_name, id_no; int age; }; int main(){ … | |
hello, there... how would you send a signal to end this loop [code] string s; int counter; while(cin >> s){ counter++; } [/code] thanks... | |
hello there...is there a way to check if the file you get is the file you really want...like for example, you want an .iso file, if yo placed any file like .txt, the system will exit...but if you placed a file with .iso extension, it will continue to run...thanks... | |
hello there, im currently doing some programming in burning an iso file using c++ and LINUX...is it possible to check if a medium(cd-rw) is empty or has a data inside...because im going to make a function that checks if a medium is blank or not, like: [code] if(cd-rw is empty){ … | |
i was kind of experimenting, i burned iso file using cdrecord command, my medium was a cd-rw and it has already a data written on it...i was not able to delete that current data stored in the medium, i just burned the iso file right away...now, i cannot view my … | |
hello there, in what way you can convert an integer to a char?? i'll use it to check if the user's input is a number, if it is a letter, it will allert him to try again and input a number...the integer will then be use for a 'for loop...thanks | |
hello there...i've been using this function to know if the input of the user is a number or a letter...but it's not working... [code] #include <iostream> #include <math.h> using namespace std; double temp2; int main(){ cout << "\n enter something"; cin >> temp2; if(isnan(temp2)){ cout << "not a number \n"; … | |
Re: dude, at least you produced 75% of the expected 100% output in just 1 week...that's an accomplishment...i would say that you fail if you produced nothing...lol... | |
hello there, im new in c++...i just want to know how to compare a string to null like: [code] string x; cin >> x; if(x==NULL){ cout << "null"; } [/code] im using this one, [b] if(&x==0) [/b]...but it does'nt work... this is what my mentor told me to do... help..thanks | |
hello there, i have no idea how to check if a directory in linux already exist, can someone point me an example..pls..thanks | |
hello there, i have here a program(linux based) that creates a directory then transfer files to that said directory...the problem is, im using strcat to join my bash script commands to the users inputs..now, i have a loop that concatenates the commands... is there a way that a concatenation will … | |
hello there, im having trouble with the system() function...as much as possible, i would like my program to be dynamic...i created a program that will make an iso file...it will ask the user to input the directory that he would like to compress...the problem is, how do i append this … | |
hello there...uhmmm, im having problems with getting the file and storing them...like for example, you ask the user to input a file then that file will be stored...how do you get that file, and where do you store them?? thanks | |
hello there...im new in c++, i need your help with this one...i want to create a program that will create an .ISO image file. the user will be asked to input all the files that he wants to compress..i just want to know what topic in c++ i will study … | |
hello there, im new in c++...i need to know how to access files in the hard disk...im having a priject of controling hdd using linux and c++...my task is to create a program in c++ using linux that get's a file from the hard disk, check's if the memory of … | |
im a beginner in c++ language, it is my first time to handle c++ (because im a java programmer)...part of my training in c++ is to create a dvd controller that will open, close, write and eject the media(preferably cd-rw), and of course, be able to get the files to … | |
Re: try this out [url]http://www.linuxcommand.org/[/url]...i've been using this for 3 days and i've learned a lot already...after 2 days, i guarantee, u'll learn how to create a calculator in bash(basic calculator)..lol.. |
The End.