- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 2
- Posts with Upvotes
- 2
- Upvoting Members
- 2
- Downvotes Received
- 11
- Posts with Downvotes
- 6
- Downvoting Members
- 6
Hiya All, Started with computers in the early 80's with a Commodore 64 and learned basic and 6510 assembler then bought an amiga then got into PC's and have become reasonable with C/C++ and with 8086 and 80386 programming. hopefully I will contribute…
- Interests
- Tennis and Table Tennis and Sci-Fi Movies
- PC Specs
- Desktop PC INTEL 2.0 ghz with 1 Gig Ram and Windows XP Home and a Laptop a Dell Inspiron 1011 for mobile…
17 Posted Topics
Re: Here are some of the Books I have collected and I recommend: C++ Primer Plus The Waite Group SAMS This is good for intermedia coders to the C++ language. Using C++ McGregor QUE This is good for just past beginners. Deitel and Deitel C++; The above is excellent for beginners. … | |
Re: Software worth downloading: Mercury SMTP Server, hey its free and works together with freepops to give a slution to handling many pop3 user account mail being fed into a single account on Mercury. [URL="http://www.freepops.org/en/"] http://www.freepops.org/en/[/URL] the above link for freepops and for mercury smtp email try: [URL="http://www.snapfiles.com/get/mercury.html"]http://www.snapfiles.com/get/mercury.html[/URL] | |
Re: I would just like to say to Bjarne Stroustroup well done on C++ I started with C Programming in 1982 for windows later and went onto C++ a decade later around 1994 I went through the process of relearning how to do it all over again in C++ using objects … | |
Re: Create a new project and add 2 forms create 1 button named command1 on form1 and then create another button on form2 called command1 The Code to click the button on form1 from form2 is: [CODE]Public Sub Command2_Click() call Form1.Command1_Click End Sub 'Please change the access modifier of the sub … | |
Hey Ive just joined as a newbie and manage to get 4 negative down voters this could ruin my life plan ROFL LOL. Anyway just wait till I get better in C++; Hiya all the negative downvoters booo booo treating a newbie like this! | |
Re: Hello all, I am James Im from London and lived in Ireland, I used to program anything that came along mostly worked on help desk fixing ms access and visual basic some sql and installing netware fixes and updates. Also fixed hard and bios problems with PC's this was about … | |
Ok Guys I need some help with a small nigglying problem I have traditionally used the following code to check for a keypress when using the console and in msdos thats how far back Ive been using getch() but need to do something similar to this in C++ with cin … | |
Just thought Id start a thread for firewall software as that is such important to people using the web. Im currently using commodo and its version 3 before that I was using PC TOOLS then before that Zone Alarm. I upgraded to more full featured firewall programs with more security … | |
Re: [CODE]//'here is the code to calculate an area of a square or rectangle in C //'to convert to c++ just read how to use cin and cout and the right include file. #include <stdio.h> #include <conio.h> long width; long length; int main(int argc, char *argv) { clrscr(); printf("Enter Width:"); scanf("%ld",width); … | |
Re: [CODE] #include <stdio.h> #include <stdlib.h> #include <conio.h> //************************************************* //skips even numbers and only checks squared values //reduces the loop size runtime //************************************************* int IsPrime(long number); int main(int argc, char *argv[]){ long n; printf("Enter number to check for primality:"); scanf("%ld",&n); if(IsPrime(n)) { printf("Number is a prime\n"); } else { printf("Number is … | |
Re: [CODE] #include <stdio.h> #include <stdlib.h> #include <conio.h> //************************************************* //skips even numbers and only checks squared values //reduces the loop size runtime //************************************************* int IsPrime(long number); int main(int argc, char *argv[]){ long n; printf("Enter number to check for primality:"); scanf("%ld",&n); if(IsPrime(n)) { printf("Number is a prime\n"); } else { printf("Number is … | |
Re: I came across a solution that worked for checking prime numbers. The idea is to square the input and check if the squared input of the number in question is prime if so then the input is prime and this seems to cut the loop sizes smaller when checking if … | |
Fellow coders Ive contributed this code to show how to send an email using winsock but Im having problems working out what to do to get this to be SSL oriented and know that it requires something to do with Secure Sockets and SetSockOpt and GetSockOpt and WSAIOctl but Im … | |
Re: #include <iostream.h> #include <winsock2.h> #include <windows.h> //#include <string> #include <stdio.h> #include <string.h> //using namespace std; #define MAX_LENGTH 1024 #pragma argsused char *fgets(char *line, int maxline, FILE *fp); int fputs(char *line, FILE *fp); int getline(char *line, int max); void main() { int s_len, r_len; int skt_Smtp; int success; struct sockaddr_in st_Sockaddr; … | |
Re: Here is some sample code: [CODE]Samples C++ Code to do SMTP From a Win32 Console #include <iostream.h> #include <winsock2.h> #include <windows.h> //#include <string> #include <stdio.h> #include <string.h> //using namespace std; #define MAX_LENGTH 1024 #pragma argsused char *fgets(char *line, int maxline, FILE *fp); int fputs(char *line, FILE *fp); int getline(char *line, … | |
Re: IF your looking at parsing a list of single elements you could try something simpler along the following lines cause it uses the split function to deciper an input string based on a separator that you supply the function: [CODE]#include<stdio.h> #include<string.h> #include<conio.h> #include<alloc.h> struct node* split(char splitc,char *astring); //------------------------------------------------- struct … | |
Re: [code] // helloworld.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include <windows.h> CONSOLE_SCREEN_BUFFER_INFO csbi; void gotoxy ( short x, short y ) { COORD coord = {x, y}; SetConsoleCursorPosition ( GetStdHandle ( STD_OUTPUT_HANDLE ), coord ); } COORD getxy ( CONSOLE_SCREEN_BUFFER_INFO * csbi) { COORD … |
The End.