Tuesday, September 27, 2016
Saturday, September 24, 2016
Visual Studio Tricks
Visual Studio Tricks
- What are these .pch and .ncb files in visual studio?
- .NCB FILE EXTENSION
- isual Studio slow intellisense
- Visual Studio 2010 Changes for VC++ (part 2)
- Visual Studio 2010 Changes for VC++ (part 1)
- Visual Studio 2010 changes for VC++ (part 3)
- Visual Studio 2010 changes for VC++ (part 4)
- Visual Studio 2010 changes for VC++ (part 5)
- Visual Studio 2010 changes for VC++ (summary)
Friday, September 23, 2016
convert C functions to C#
convert C functions to C#
- How to convert C function signature to C# and call that function in the native DLL?
- Convert C++ function for use in C#
- How do i convert a C++ function in c# function
- Returning Strings from a C++ API to C#
-
conversion c source code to c#
solution 7 is good approach. refer to more details of it.
- C++ to C# converter
- High-Fidelity C/C++ Code Transformation
Saturday, September 17, 2016
how to send ctrl + Z?
how to send ctrl + Z?
- How to send ctrl+z in C
-
Substitute character
Control + Z is a control character in ASCII code. It is commonly used as a substitute (SUB) character. It is perhaps best known as the keyboard shortcut in Windows applications for the undo command. It is also used to signal an end-of-file on some operating systems.
How to format your source code in blogger?
- hilite.me converts your code snippets into pretty-printed HTML format
- Formatting code snippets for blogging on Blogger [closed]
-
Syntax Highlighting with Blogger Engine
this is very good code template to insert in front section of your page.
- SyntaxHighlighter is a fully functional
Friday, September 16, 2016
C file I/O functions
C file I/O functions
-
(stdio.h) library details can be found here:: -
(math.h)library details can be found here:: -
(cstring.h library )function
memset -
function feof():: it contains goood library and function information. good reference
/* feof example: byte counter */ #include <stdio.h> int main () { FILE * pFile; int n = 0; pFile = fopen ("myfile.txt","rb"); if (pFile==NULL) perror ("Error opening file"); else { while (fgetc(pFile) != EOF) { ++n; } if (feof(pFile)) { puts ("End-of-File reached."); printf ("Total number of bytes read: %d\n", n); } else puts ("End-of-File was not reached."); fclose (pFile); } return 0; }
-
EOF, getc() and feof() in C
#include <stdio.h> int main() { FILE *fp = fopen("test.txt", "r"); int ch = getc(fp); while (ch != EOF) { /* display contents of file on screen */ putchar(ch); ch = getc(fp); } if (feof(fp)) printf("\n End of file reached."); else printf("\n Something went wrong."); fclose(fp); getchar(); return 0; }
- Detecting EOF in C
- Checking if the file pointer has reached EOF without moving the file pointer?
- How to use EOF to run through a text file in C?
- End of File (EOF) in C
- C scanf()
- C printf()
- C – printf and scanf
- C Programming Examples on File Handling
-
File Handling in C Language:: good examples
an example to write to a file from std input and display the file::
#include<stdio.h> #include<conio.h> main() { FILE *fp; char ch; fp = fopen("one.txt", "w"); printf("Enter data"); while( (ch = getchar()) != EOF) { putc(ch,fp); } fclose(fp); fp = fopen("one.txt", "r"); while( (ch = getc(fp)! = EOF) printf("%c",ch); fclose(fp); }
another example::
/* read and write to file */ #include<stdio.h> #include<conio.h> struct emp { char name[10]; int age; }; void main() { struct emp e; FILE *p,*q; p = fopen("one.txt", "a"); q = fopen("one.txt", "r"); printf("Enter Name and Age"); scanf("%s %d", e.name, &e.age); fprintf(p,"%s %d", e.name, e.age); fclose(p); do { fscanf(q,"%s %d", e.name, e.age); printf("%s %d", e.name, e.age); } while( !feof(q) ); getch(); }
- File Handling in C with Examples (fopen, fread, fwrite, fseek)
- File Handling in C Language
- Detecting EOF in C
- How to use EOF to run through a text file in C?
logic how to detect end of file:
the following section is about file I/O related functions.
C file I/O functions
C file I/O functions
-
(stdio.h) library details can be found here:: -
(math.h)library details can be found here:: -
(cstring.h library )function
memset -
function feof():: it contains goood library and function information. good reference
/* feof example: byte counter */ #include <stdio.h> int main () { FILE * pFile; int n = 0; pFile = fopen ("myfile.txt","rb"); if (pFile==NULL) perror ("Error opening file"); else { while (fgetc(pFile) != EOF) { ++n; } if (feof(pFile)) { puts ("End-of-File reached."); printf ("Total number of bytes read: %d\n", n); } else puts ("End-of-File was not reached."); fclose (pFile); } return 0; }
-
EOF, getc() and feof() in C
#include <stdio.h> int main() { FILE *fp = fopen("test.txt", "r"); int ch = getc(fp); while (ch != EOF) { /* display contents of file on screen */ putchar(ch); ch = getc(fp); } if (feof(fp)) printf("\n End of file reached."); else printf("\n Something went wrong."); fclose(fp); getchar(); return 0; }
- Detecting EOF in C
- Checking if the file pointer has reached EOF without moving the file pointer?
- How to use EOF to run through a text file in C?
- End of File (EOF) in C
- C scanf()
- C printf()
- C – printf and scanf
- C Programming Examples on File Handling
-
File Handling in C Language:: good examples
an example to write to a file from std input and display the file::
#include<stdio.h> #include<conio.h> main() { FILE *fp; char ch; fp = fopen("one.txt", "w"); printf("Enter data"); while( (ch = getchar()) != EOF) { putc(ch,fp); } fclose(fp); fp = fopen("one.txt", "r"); while( (ch = getc(fp)! = EOF) printf("%c",ch); fclose(fp); }
another example::
/* read and write to file */ #include<stdio.h> #include<conio.h> struct emp { char name[10]; int age; }; void main() { struct emp e; FILE *p,*q; p = fopen("one.txt", "a"); q = fopen("one.txt", "r"); printf("Enter Name and Age"); scanf("%s %d", e.name, &e.age); fprintf(p,"%s %d", e.name, e.age); fclose(p); do { fscanf(q,"%s %d", e.name, e.age); printf("%s %d", e.name, e.age); } while( !feof(q) ); getch(); }
- File Handling in C with Examples (fopen, fread, fwrite, fseek)
- File Handling in C Language
- Detecting EOF in C
- How to use EOF to run through a text file in C?
logic how to detect end of file:
the following section is about file I/O related functions.
JQuery application in ASP.NET and configuration
JQuery application in ASP.NET and configurations
- A Whistle-stop Tour of jQuery
- jQuery Tutorial for Beginners: Nothing But the Goods
- Learning jQuery – Tutorial Roundup for Beginners
- AJAX TUTORIAL PDF FOR BEGINNERS
- JQuery AJAX with ASP.NET MVC
- ASP.NET and jQuery to the Max
- Great jQuery Tutorials
- Using jQuery for AJAX in ASP.NET
- Working with jQuery within the ASP.NET UpdatePanel
- JQuery application in ASP.NET and configuration
- Common Pitfalls of jQuery
- Getting friendly with jQuery
- Learning jQuery using jQuery Lab
- How jQuery works
- 7 JQuery Best Practices
- JQuery: A Quick Start Guide
Saturday, September 10, 2016
Converting C source to C++
convert c project to c++
-
Refactoring: Convert C to C++
this is the first paper to review.
- Case Study: Converting C Programs to C++
- Converting C source to C++
- Differences between C and C++
- Converting a C or C++ nature for a project
- how to convert c to c++ code
- C to C++ converter
-
Compiling C in Visual Studio.NET
Go to View Menu select Solution Explorer or CTRL+ ALT +L
Then Select The project that your are developing and right click on that.
Then select the Properties from the submenu.
Then select the Configuration properties from the Tree structure. under that select C/C++ then select Advanced. Now in the right side pane change the property Compile As from Compile as C++ Code (/TP) to Compile as C Code (/TC)
Finally change your file extensions to .c
Now you configured you Visual Studio to compile C programs
List topics
List topics
- Generic List (C#)
- Convert a Generic List to a Datatable
- Using generics for calculations
- Generic Keyed List
- Convert ArrayList to a Generic List
- DataTable to List<> using Generics
- Essential C# 2.0: Chapter 11: Generics
- C# Generics for beginners, Part 1
- .NET Generics in a Nutshell
- A Simple Introduction to Generics