Jump to content

Search the Community

Showing results for tags 'c++'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • W3Schools
    • General
    • Suggestions
    • Critiques
  • HTML Forums
    • CSS
  • Browser Scripting
    • JavaScript
    • VBScript
  • Server Scripting
    • Web Servers
    • Version Control
    • SQL
    • ASP
    • PHP
    • .NET
    • ColdFusion
    • Java/JSP/J2EE
    • CGI
  • XML Forums
    • XML
    • Schema
    • Web Services
  • Multimedia
    • Multimedia
    • FLASH

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start





Website URL








Found 6 results

  1. In unix, with the exception of a few special system process, processes are generated by users (root and others) who have logged onto the system. • During the login process the system queries the password file to obtain two identifications (ID) numbers. • The numbers obtained are in the third and fourth fields of the password entry for the user. • These are respectively , the “real user ID” (UID) and “real group ID”(GID) for the user.
  2. So i started programming a few days ago and wanted to do a little C++ program. Can anyone explain me why it prints 0 instead of 1? What do I need to change? Best regards. #include <iostream> using namespace std; int main () { int i; i = 0; if (int i = 0) { i++; } else { } cout << i << endl; return 0; }
  3. Hello dear, i found one of your websites about the switch case statements in C++. https://www.w3schools.com/cpp/cpp_switch.asp It says: "If there is a match, the associated block of code is executed." This is not wrong, BUT it is not mentioned later (break statements), that the code ist executed *from the line* of the match (and not only the match codeblock) to the end of the switch block, if there is no break statement. "break" does not only save runtime, if you don't use it, you will get some hard to find unexpected behavior in your programs. Example: int i= 7; switch (i) { case 5: cout << 5 << endl; case 6: cout << 6 << endl; case 7: cout << 7 << endl; case 8: cout << 8 << endl; case 9: cout << 9 << endl; } Output: 7 8 9 Greets
  4. Please Provide me Book or Link which Cover the Following Topics: 1. HTML/HTML5 a. HTML Page design using DIV based layout (no tables) b. META Tags c. Viewport d. HTML5 Page design using &lt;header>, <footer>, <article>, <section> and <div> 2. CSS a. Styling of elements using CSS <b>b. CSS properties – float, align, background, margin, padding, position, width, height c. Pseudo classes d. How to override CSS properties</b> e. Inline, embedded and external CSS <b>3. JavaScript a. DOM Manipulation i. Change content of the DIV based on some event ii. Populate data inside a DIV using AJAX iii. Show/Hide Elements b. Event handlers c. Timer functions – setTimeOut, setTimeInterval d. AJAX and JSON e. Cookies management f. Debugging using Browser Console g. JavaScript/CSS magnification </b> Please advise me any link for the topics of above links, or are there any software houses in Dubai who suggest me with the respective resolution. Please reply asap.
  5. I configured my Raspberry Pi as a LAMP server. I have LEDs connected to my RP and can control them with c/c++ programs. Now I want to built a web interface to control the colors of my LEDs. For my first attempt I used JQuery to send different commands to a PHP script that would execute a program with the color as a parameter. This doesn't seems to be the best solution, because I'm pretty limited on any effects I can make. So my second idea was to use sockets to send information to my program. This means my ledControler program listens for incoming commands and executes them. For this I used Websockets, but since I didn't use a library for my c++ program, it was very painfull to implement the whole WebSocket RFC. Another idea was to use PHP sockets. But I didn't test it out. My question is, am doing this completely wrong? Is there a simpler preferred way to do this?
  6. HelloI'm just starting working with web pages and I have an assinment for work to make web application (if you could call it that way) which has to take .txt file from one server then sort data which is in it and then display it on the web page. The data looks like this:2013.5.14 00:03:22;"555000000000000000";22;"ANSWERED". I have to take data lines only from certain date, delete numers which repeat, count their call duration, average call duration and display it on the web page. My question is can make such sorting with Php ? Or can I run programm in server, on click of the button on web page, which would sort it and put it on .txt file from which the page would read it and then display it? Or can I put c++ code inside the web page ? Thank you for any help!
  • Create New...