Posts
 
Reputation
Joined
Last Seen
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
8
Posts with Downvotes
6
Downvoting Members
5
2 Commented Posts
~36.1K People Reached
Favorite Tags
c++ x 75
c x 2

19 Posted Topics

Member Avatar for restrictment
Member Avatar for anuragcoder

Hi! I've encountered another problem, The code below is just the part of the code where the error occurs int FindStr(FILE *f, char *str) { int s_pos; //string position in the text int c_pos; //char position in the text char *string; char ccnt; //char count s_pos = -1; c_pos = …

Member Avatar for thunderox
0
11K
Member Avatar for niyasc
Member Avatar for ze_viru$

Why dont you check out console pong in the dani web code snippets Hope this helps Anurag

Member Avatar for ruwaiz1028
-3
3K
Member Avatar for William Hemsworth

Really good program. Can i inclue this in my AppSuite.. (I will mention your name... of course...)

Member Avatar for William Hemsworth
2
7K
Member Avatar for anuragcoder

Hi guys... guess i won't be posting after this for a long time.... could you all please help me out with syntax highlighting in c++ once again. I have made a full featured text editor(please check the snippet C.L.O.S.E) but could you please suggest about syntax highlighting or atleast indentation.. …

Member Avatar for anuragcoder
0
113
Member Avatar for anuragcoder

Hi guys, Here's my project finally. It's name is C.L.O.S.E - The Command Line Open Source Editor Please review and comment. Mention errors if any, Also, for this code to work. Please download open.cpp, find.cpp, new.cpp, append.cpp, compile them and place all of them including the main source in a …

Member Avatar for anuragcoder
0
326
Member Avatar for anuragcoder

Hi guys! I want the user to enter the day, month and year in a dd/mm/yyyy format. But what i've written doesn't seem to work. Code: [CODE]char d[2]; char m[2]; char y[4]; cout << "Day:"; gets(d); cout << "Month:"; gets(m); cout << "Year:"; gets(y); [/CODE] In the output, it doesn't …

Member Avatar for anuragcoder
0
219
Member Avatar for anuragcoder

Hi guys, I've compiled the code given below which allows the user to enter the address of a text file and then view it(the whole thing). But, as soon as input is taken, "openfile.exe has encountered a problem and needs to close. Send Error Report." When I Press Debug something …

Member Avatar for abhimanipal
0
197
Member Avatar for anuragcoder

Hey Guys, Recently ive been developing a text editor when i came to stop. [ICODE]system("cls"); cout <<"\t\t-------------------------------------" <<endl; cout <<"\t\t| NEW FILE |" <<endl; cout <<"\t\t-------------------------------------" <<endl; cout <<"\t\t|Enter New File Name| "; getline(cin,createfile); cout <<"\t\t----------" <<endl; getline(cin,text);[/ICODE] here getline accepts code only until one press enter key How to …

Member Avatar for anuragcoder
0
2K
Member Avatar for anuragcoder

This is a program that emulates a supermarket cashier. It includes Login and also uses EncryPro for encrypting customer ID. AC 2010 Main Page : code.google.com/p/advancedcashier2010 EncryPro : code.google.com/p/encrypro

Member Avatar for anuragcoder
-1
385
Member Avatar for anuragcoder

Hey guys, recently i've tried to compile this command line email program I get the error: cannot find -lobjc ld returned 1 exit status Here's my code. Any Help Appreciated. [CODE] #include <stdio.h> #include <stdlib.h> #include <string.h> #include <winsock.h> #define NETWORK_ERROR -1 #define NETWORK_OK 0 FILE *fp; char buffer[200000]; char …

Member Avatar for Aia
0
126
Member Avatar for anuragcoder

I have made the following code to find a string in some lines of text But it always mentions the error: no matching function for call to 'strcmp(std::string&, std::string&)' [CODE]#include <iostream> #include <string> #include <fstream> #include <sstream> using namespace std; int main(){ cout << "Please enter some text" <<endl; string …

Member Avatar for anuragcoder
0
652
Member Avatar for anuragcoder

Hey guys, sorry for the bad rep. But, recently i've obtained a code in c++ which highlights c# syntax in a Richtextbox. [URL="http://www.c-sharpcorner.com/UploadFile/duncanharris/SyntaxHighlightInRichTextBoxP212012005044912AM/SyntaxHighlightInRichTextBoxP2.aspx"]LINK[/URL] I think the basic idea behind it is to specify an array of strings, and now the program should search and highlight the defined strings in a …

Member Avatar for iamthwee
0
136
Member Avatar for anuragcoder

As the title suggests Any help for keypress action folks?? Do we have a keypress func in c++. I'm runnin Win Xp Dev c++

Member Avatar for daviddoria
0
116
Member Avatar for anuragcoder

Can anyone of you suggest, how to create syntax highlighting functionality I would like a code snippet. Please, Anurag

Member Avatar for anuragcoder
-2
84
Member Avatar for anuragcoder

This is my code to create a new file below. The main problem is that the program does not halt for entering file name and also the program creates a file .txt and doesn't save anything in it. Please Help [CODE]int newfile() { system("cls"); cout <<"\t\t-------------------------------------" <<endl; cout <<"\t\t| NEW …

Member Avatar for daviddoria
0
106
Member Avatar for steventaal

says error: expected primary expression before else expected ; before else i believe you have a problem with braces.

Member Avatar for anuragcoder
0
258
Member Avatar for anuragcoder

How do i call another c++ code or an *.exe application in another cpp code. I actually wanted to create an AppSuite which contains an editor, a web browser, an address book etc. How to include all apps in one menu?? Any help will be appreciated, Anurag

Member Avatar for iamthwee
0
84

The End.