-
Gave Reputation to veedeoo in Why you don't want to mix PHP and HTML directly.
I am also a big fan of the separation of business logic and presentation logic. In fact, I have attempted to create a very simple template engine that can run … -
Created Why you don't want to mix PHP and HTML directly.
PHP is an object-oriented language, based (loosly) upon C++. It has classes, methods, member variables, and all that other good stuff. It runs on your web server, not in the … -
Replied To a Post in Binary Tree Min And Max Value Crashing Need Help
1. Properly indent your code so it is easier to read. 2. You probably didn't check for a NULL value, resulting in the crash. 3. Item 2 above (null value) … -
Replied To a Post in Inheritance: Base Class and Derived Class
Put `#endif // !RoomOne_H` at the end of RoomOne.h and don't include RoomOne.h in StoneAdventure.h -
Replied To a Post in compiler on a linux distro.
I've never had a problem installing it on Linux. What issues are you encountering? -
Replied To a Post in Error 0xc185 and/or 0xc21a
If the MBR was borked, then it is likely the disc is fried and your attempts at recovery will be for naught. You need to run a sector scan on … -
Replied To a Post in Windows 7 Stop Charging While Playing
The question is whether it has really stopped charging, or if just the charging icon is not being properly updated. With the battery fully charged, try running the game long … -
Replied To a Post in How To Implement Tree in C++??
Just remember, that inserting already sorted data into a pure binary tree (b-tree) will result in what is effectively a linked list, with unoptimal search characteristics. Once you are able … -
Replied To a Post in c++ project help on "Automobile dealer shop"
Class assignment? Sorry, but we don't do your homework for you. What kinds of classes do YOU think you need? Yes, I could give you a list (I was a … -
Replied To a Post in E-System Ei 3103 Laptop startup password not working,how to clear CMOS ?
When something like this happens, the first thing you do is a full system reset - usually by shutting down the system cold, removing the battery (and no wall-plug connection), … -
Replied To a Post in Is LFS bulletproof?
The main point of LFS is to teach people the inner secrets of configuring and building Linux systems from scratch (so to speak). If you want a light-weight apache server, … -
Replied To a Post in Makefile:124: *** unterminated call to function `foreach': missing `)'.
My guess is that there is a hidden file in the directory which the shell is not able to expand, resulting in the error. Check for that. -
Replied To a Post in Is Buslink an okay brand for an A-drive?
Unfortunately the link is no longer active so I can't say whether or not it may be appropriate for you. In any case, a usb device should suit you well. -
Replied To a Post in Ubuntu Intallation with Win 7
Until you are comfortable with Ubuntu installation and configuration then I would recommend that you install Windows 7 as the host operating system, and install Ubuntu in a virtual machine … -
Replied To a Post in How to bind extension of file to application?
Most file managers for Linux GUIs have a "properties" item when you right-click on the item. Usually there you will find a tab titled something like "Open With" which will … -
Replied To a Post in compiler on a linux distro.
The one very popular IDE that Mike2K didn't mention is Eclipse which runs on just about anything. It has a C/C++ plugin which works a treat. Myself, I prefer to … -
Replied To a Post in Laptop not connecting to wifi
If your laptop is showing no connections (ssid's) active at all, then there is either a hardware or software problem with the laptop. First, shut it down completely. Then, after … -
Replied To a Post in ubuntu 12.04...help
What kind of graphics card does your system use? -
Replied To a Post in c++ (converting characters to ASCII
To output in hex: `std::cout << std::hex << (int)someChar;` -
Replied To a Post in ocr
OCR in 50 words or less. 1. Scan input 2. Extract each item (character) from the input 3. Apply pattern matching algorithm to each item 4. Generate output 5. Validate … -
Replied To a Post in Hi everyone
I prefer Linux myself, but Windows 7 is a good option for learning systems used by many corporations. -
Replied To a Post in Non USB to USB
Most old keyboards are what were PS2 boards and plugged into a round port in the back of the computer. If your computer doesn't have such a port, then you … -
Replied To a Post in Alsa mixer - Gstreamer was unable to detect any sound devices
Sometimes, drivers miss a hardware event/interrupt and get into some space where they cannot continue to operate normally. At that point, it is time for the 3-finger salute, as you … -
Replied To a Post in power problem
Replying to your own post with what is effectively the same message is not helpful and won't get responses from the rest of us any more quickly. Assuming that the … -
Replied To a Post in Difference between char* and char []
Some compilers will bitch at you if you try to assign a string literal to a `char*` (often depending upon how you set the strictness level of type-checking for the … -
Replied To a Post in guys what should i learn to master data structures in c, im a newbie p.
Myself, I like Wirth's "Algorithms + Data Structures = Programs". It's a bit dated, but it was the seminal treatise on the subject. -
Replied To a Post in display in ascending order
Since this is C++, why are you building your own sort routine? Either use C's qsort (with an appropriate comparison function), and then simply walk the array and output the … -
Replied To a Post in Need information on Interpreting logs
Sorry, but though I have quite a bit of experience working with Wireshark (and the associated tcpdump tool), I have not knowleged of (that I am aware of) of .pcapng, … -
Replied To a Post in Acer travelmare2300 cmos battery
Most systems use a "coin cell" battery similar to the batteries in garage-door openers and automobile security keyfobs. You need to get the battery out and see what the type … -
Replied To a Post in Xampp: localhost load slow
A bit of advice. If things suddenly change behavior and you didn't (you think) do anything to alter that behavior, then reinstallation and reconfiguration are likely not to help (as … -
Replied To a Post in WRT54 - LinkSys Router - Can it be configured as an Extender/Repeater
@Mike2K I have a WiFi extender that I used to use before I decided to go the powerline connection route with multiple access points. I think it's a d-link (not … -
Replied To a Post in HOW TO LEARN LINUX IN WINDOWS
As usual, Mike2K gives great advice. My only comment is about the performance issue, though there WILL be some impact. There are several things you can do to improve the … -
Replied To a Post in CONVERSION FROM RAR FILE TO ISO FILE
Rar files, or file sets, are NOT zip files, though they may (or may not) be compressed. There is a free (shareware) Windows tool for that called WinRAR. Works great. … -
Replied To a Post in Is Buslink an okay brand for an A-drive?
What is the inteface that it uses? Is it a standard floppy controller interface (not often found on current computers), USB, RS-232, what? That is the question. The cable is … -
Replied To a Post in configuration could not be loaded
You are not providing nearly enough information to help you. Saying "I have a problem - please fix it." is not productive. Tell us what your were doing when it … -
Replied To a Post in BootMRG Missing CTRL+ALT+Headache
You didn't perform a system image backup first, did you? This is the god of computing's lesson for you - NEVER mung with system disc formatting issues without doing a … -
Replied To a Post in openSUSE doesn't see different partitions
Windows usually uses the entire disc, so even if you think your Windows system uses only 75GB of the disc, that is likely only the amount currently in use. Also, … -
Replied To a Post in Switching to Ubuntu 14.x
Linux GUI's have a number of tools for assisting disabled persons (visually impaired, etc). There are definitely which will read back text as audio that you can use. I don't … -
Replied To a Post in NEED HELP FAST!!! (Steamcmd) (Gmod)
You could update to CentOS 7 to fix this, but I suspect that package won't work on CentOS 6.x. -
Replied To a Post in WRT54 - LinkSys Router - Can it be configured as an Extender/Repeater
It can be reconfigured from a router to a bridge, but as for the WiFi access point, not really. You can use it with an SSID that is different from … -
Replied To a Post in c++
Sorry. We don't do your homework for you. Create a program to solve this problem (it is a trivial one) and when you have issues with it, then post your … -
Replied To a Post in NEED HELP FAST!!! (Steamcmd) (Gmod)
The problem is that the CentOS 6.5 repository's version of glibc is 2.12. You might be able to build 2.15 from source and install it so that the application can … -
Replied To a Post in which program do i need to repair hdd?
Yes, I read it - irrelevant since it does eventually boot and you can use the external screen. Even though the main screen doesn't display during the boot process, the … -
Replied To a Post in NEED HELP FAST!!! (Steamcmd) (Gmod)
steamcmd seems to want to write state data to /home/gmod and I assume that you are running steamcmd from your account. So, you probably need to be sure that you … -
Replied To a Post in PHP vs VB.NET
PHP is a server-side language - it typically runs in the web (Apache, IIS, etc) or application (Tomcat, JBoss, etc) server. It can emit HTML, JavaScript, CSS blocks etc that … -
Replied To a Post in gcc -c
Reading the gcc man page is also a good idea. It's really long, but all the options are covered pretty well. -
Replied To a Post in Linux Zero Day: JournalCtl and Syslog Terminal Escape Injection
There is a lot of noise about systemd's faults all over the net. I've been in a discussion on the LinkedIn Linux Experts group about this very topic. Honestly, in … -
Replied To a Post in which program do i need to repair hdd?
Ok. Boot it up. Go to the computer menu, select options for the hard drive, go to tools, and set it up to do a full disc scan and repair. … -
Replied To a Post in LINUX IDE FOR WINDOWS
https://www.virtualbox.org/ An IDE is a programming tool/environment such as Visual Studio, Eclipse, Code::Blocks, etc. A virtual machine is an emulated computer that runs as a guest in your own system. -
Replied To a Post in which program do i need to repair hdd?
What operating system are you running?
The End.