9,867,109 members (28,201 online)
Visit CodeProject.TV
Discuss CodeProject.TV
Sign in
Email
Password
Forgot your password?
Sign in using
home
articles
Chapters and Sections
>
Search
Latest Articles
Latest Tips/Tricks
Top Articles
Beginner Articles
Technical Blogs
Posting/Update Guidelines
Article Help Forum
Article Competition
Submit an article or tip
Post your Blog
quick answers
Ask a Question
View Unanswered Questions
View All Questions...
C# questions
ASP.NET questions
VB.NET questions
C#4.0 questions
C++ questions
discussions
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work & Training Issues
Design and Architecture
ASP.NET
JavaScript
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
Adobe Technologies
C#
Free Tools
Objective-C
Ruby On Rails
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
.NET Framework
Mobile
VS 11 & .NET 4.5
Sharepoint
Silverlight / WPF
Visual Basic
Web Development
Site Bugs / Suggestions
features
Component & Service Catalog
Competitions
News
The Insider Newsletter
Newsletter archive
Surveys
Product Showcase
Research Library
CodeProject Stuff
community
The Insider News
The Lounge
The Weird & The Wonderful
The Soapbox
Press Releases
Who's Who
Most Valuable Professionals
Company Listings
Non-English Language
>
General Indian Topics
General Chinese Topics
help
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
Site Map
Advertise with us
Employment Opportunities
About Us
The default search term operator is
AND
.
You can use brackets,
AND
,
OR
, and
NOT
to improve your search. For example:
C# AND NOT(VB or SQL)
A query of a single
*
will return everything, filtered by any filters.
Filter examples:
Search by Author
author:"author name"
Filter by tag
tag:C#
or
tag:(C++ or Java)
Wildcard search
use "?" or "*" eg.
gr?d
or
gr*
10,016 Results
Search
Everything
Articles
Technical Blogs
Tips & Tricks
Questions
Answers
Forum Messages
News Items
Catalog Items
Videos
Training Courses
Just My Stuff
My Bookmarks
Sort by
Relevance
Rating Asc
Rating Desc
Title Asc
Title Desc
Author Asc
Author Desc
Date Created Asc
Date Created Desc
Date Modified Asc
Date Modified Desc
Price Asc
Price Desc
Duration Asc
Duration Desc
Match
All Fields
Title
Description
Author(s)
Tags
Any Date
Last 12 hours
Last 24 hours
Last week
Last 2 weeks
Last month
Last 3 months
Last 6 months
Last year
January
February
March
April
May
June
July
August
September
October
November
December
Rating Range
All - Including Unrated
1.0 - 5.0
2.0 - 5.0
3.0 - 5.0
4.0 - 5.0
4.5 - 5.0
4.8 - 5.0
5.0
Advanced Filters:
Article Topics
All Topics
Desktop Development
Web Development
Mobile Development
Cloud Computing
Enterprise Systems
Database
Multimedia
Languages
Platforms, Frameworks & Libraries
General Programming
Graphics / Design
Development Lifecycle
General Reading
Third Party Products
Mentor Resources
Article License
All Licenses
CPOL
CDDL
Ms-PL
MPL
CPL
Eclipse
MIT
BSD
Apache
CC (ASA 2.5)
Zlib
Public Domain
CC (Attr 3U)
CC (ASA 3U)
LGPL3
GPL3
Forums
All Forums
Feature Forums
General Programming
Web Development
Product Lifecycle
Database & SysAdmin
General Discussions
Non-English Language
Catalog Category
All Categories
Books & Training
Charting & Graphing
Components, Controls, Libraries
Data Manipulation & Mining
Database Tools
Debugging
Documentation & Help
Financial, Math & Scientific
Frameworks & APIs
General Development Tools
GIS & Maps
Graphics & 3D Modeling
Hardware and Robotics
Hosting
IDEs
Imaging
Mobility
Multimedia
Networking
Performance and Profiling
Programming Languages
Project Life-cycle Management (ALM)
Reporting
Search
Security
Setup & Deploy
System Adminstration
Utilities
Virtualization
Web Design/Development
Catalog License
All Licenses
Commercial
Fully Function Evaluation version
Limited Functionality Trial
Limited Time Trial
Shareware
Free For Personal Use
Freeware
Page 1 of 201
Page Size:
10
·
25
·
50
Tag filtered by: C
[x]
Help to findout Week number of year?
by
sumith sudesan
Question
13 May 2013
license:
CPOL
how can i find the week number of a given dateexample 1/1/2010 - 1 week 22/2/2010 - 9 week like this ?????
General Programming
»
Uncategorised Quick Answers
»
General
C++
C
VC++
MFC/C++
seeing dots in place of spaces in code blocks
by
si2dharth
Answer
13 May 2013
license:
CPOL
Its a small setting in your editor. In view, or in personalization or some similar setting, you must have checked the "Show spaces and tabs" or something to that effect.
General Programming
»
Uncategorised Quick Answers
»
General
C++
C
Problem in returning more than 1 values from a function using pointers.When "delete" function is called,pointer *locp is not getting modified.How can i return the value of *locp from find to delete.?
by
Richard MacCutchan
Answer
13 May 2013
license:
CPOL
In your find function you have the following:node* find(node *start,int item,node *locp){ node *loc,*save,*ptr; save=start; ptr=start->next; while(ptr!=start && ptr->info!=item) { save=ptr; ptr=ptr->next; } if(ptr->info==item) { ...
General Programming
»
Uncategorised Quick Answers
»
General
C
Pointer
Problem in parsing XML through LibXML
by
suneet.saini
Question
13 May 2013
license:
CPOL
This XML is to parsed through the Libxml in C. 000 ...
General Programming
»
Uncategorised Quick Answers
»
General
C
Linux
Problem in returning more than 1 values from a function using pointers.When "delete" function is called,pointer *locp is not getting modified.How can i return the value of *locp from find to delete.?
by
Brady Bar
Question
13 May 2013
license:
CPOL
#include#include
General Programming
»
Uncategorised Quick Answers
»
General
C
Pointer
seeing dots in place of spaces in code blocks
by
AdibAunik
Question
12 May 2013
license:
CPOL
class·$(Class·name)|{publi...
General Programming
»
Uncategorised Quick Answers
»
General
C++
C
Atomineer Pro Documentation for Visual Studio
by
Zot Williams
Catalog
12 May 2013
license:
Commercial
Unsurpassed Documentation Comment generation and updating for C#, Visual Basic, C++/CLI, C++, C, Java and UnrealScript code. Keep your comments readable and in sync with the code with a minimum of effort. Plus other coding utilities.
Components, Controls, Libraries
.NET1.0
.NET1.1
.NET2.0
Win2K
WinXP
Win2003
Vista
VS2005
.NET3.0
VB7.x
, +
IncrediBuild
by
Xoreax Software Ltd.
Catalog
11 May 2013
license:
Limited Time Trial
IncrediBuild is an easy-to-use platform for accelerating Windows-based processes through advanced Grid Computing technology. IncrediBuild speeds up Visual Studio and make based code builds as well as data builds, scripts and applications.
General Development Tools
VC6
VC7
VC7.1
VC8.0
.NET1.0
.NET1.1
.NET2.0
Win2K
WinXP
Win2003
, +
How can i access the last node in this linked list.Last node is not reachable due to unsatisfied condition inside last while loop.Please suggest some solutions to it
by
Ian A Davidson
Answer
11 May 2013
license:
CPOL
Try this instead:int pos = 0;int flag = 0;node* ptr = start;while(ptr != NULL){ if(ptr->info == item) { flag = 1; break; } else { ++pos; ptr = ptr->next; }}Ian.
General Programming
»
Uncategorised Quick Answers
»
General
C
How can i access the last node in this linked list.Last node is not reachable due to unsatisfied condition inside last while loop.Please suggest some solutions to it
by
nv3
Answer
11 May 2013
license:
CPOL
Instead of your while loop: while(ptr->next!=NULL)You should use while( ptr != NULL)ptr is the pointer to the current node that you want to inspect and compare with the item. So ptr must be non-null, and not ptr->next.
General Programming
»
Uncategorised Quick Answers
»
General
C
How can i access the last node in this linked list.Last node is not reachable due to unsatisfied condition inside last while loop.Please suggest some solutions to it
by
Brady Bar
Question
11 May 2013
license:
CPOL
#include#include
General Programming
»
Uncategorised Quick Answers
»
General
C
Is there any logical error in this linked list insertion code.please help
by
Ian A Davidson
Answer
11 May 2013
license:
CPOL
Yes there is. And it's is unclear what you are trying to do (where are you trying to insert the new node?). Here are three options:// If you are trying to insert a new node at the end of the linked list:// e.g. you have [start][node a][node b]// ptr = any node in the list; insert node...
General Programming
»
Uncategorised Quick Answers
»
General
C
Is there any logical error in this linked list insertion code.please help
by
OriginalGriff
Answer
11 May 2013
license:
CPOL
Um.Have you looked at the code at all? Or tried running it in the debugger?Assuming your insert operation should insert a new node between the parameter node and the next node in the listStart:A -> B -> CAnd you pass "B" in the you expect:A -> B -> NEW ->...
General Programming
»
Uncategorised Quick Answers
»
General
C
Is there any logical error in this linked list insertion code.please help
by
helmi77
Answer
11 May 2013
license:
CPOL
I think the problem is the lineif(ptr->next!=NULL)in your insert function. If you change the if to while it should work fine.
General Programming
»
Uncategorised Quick Answers
»
General
C
Is there any logical error in this linked list insertion code.please help
by
Brady Bar
Question
11 May 2013
license:
CPOL
#include#include
General Programming
»
Uncategorised Quick Answers
»
General
C
windows filtering platform architecture
by
naveenhariom
Question
11 May 2013
license:
CPOL
Respected techies i would like to know how to filter downloading of .exe or any other fileAdded from reposted "question":give me a idea not allow .exe file from downloading in windows filtering platform architecture.[edit]Questions combined - OriginalGriff[/edit]
General Programming
»
Uncategorised Quick Answers
»
General
C++
C
Programming in C- Display inputted integers in english
by
CPallini
Answer
10 May 2013
license:
CPOL
I fixed some bugs (uninitialized variables). Please note: you should handle the digit 0 (zero) too. #include #include void show_number(int number){ int counter = 0; int i, temp, digit, x, ten; if (number > 9) { temp = number; while...
General Programming
»
Uncategorised Quick Answers
»
General
C
programming
Programming in C- Display inputted integers in english
by
Sergey Alexandrovich Kryukov
Answer
10 May 2013
license:
CPOL
This code is so naive that it does not worth reviewing. This is not even programming.This is the first step you could do: put all your English numeral in some array of strings. Than, if you have a number 0..9, its English representation of it will be found in one line of code; this is the...
General Programming
»
Uncategorised Quick Answers
»
General
C
programming
Programming in C- Display inputted integers in english
by
Drgy55
Question
10 May 2013
license:
CPOL
I am having trouble coding a problem from Kochan's "Programming in C," Chapter 6, Exercise 6. The problem is to take user input (an integer) and display it in english. Ex. User inputs "123" output should be "one two three." At this point in the book, I should only have basic knowledge of C (no...
General Programming
»
Uncategorised Quick Answers
»
General
C
programming
Why is the digital I/O in Arduino slow and what can be done about it?
by
Jan Dolinay
Article
10 May 2013
license:
CPOL
This article explains why the Arduino digital I/O functions are slow and compares them with faster implementation used in Wiring framework.
General Reading
»
Hardware & System
»
Hardware Programming
C++
C
Architect
Dev
ASM
Design
Intermediate
Advanced
Hardware
General
, +
Convert C Code to C# Code
by
Sisir Behera
Answer
10 May 2013
license:
CPOL
/*****************************...
General Programming
»
Uncategorised Quick Answers
»
General
C#1.0
C#2.0
C#3.0
C
C#
C#
C#4.0
How network event FD_WRITE is generated when using Event Driven Sockets.
by
Richard MacCutchan
Answer
10 May 2013
license:
CPOL
See http://msdn.microsoft.com/en-us/library/windows/desktop/ms741540(v=vs.85).aspx[^] for a complete description of how these events are generated and consumed.
General Programming
»
Uncategorised Quick Answers
»
General
C
Windows
Visual-Studio
Events
programming
Networking
Network
eventhandler
Changing same values in two text files
by
Member 9357265
Question
9 May 2013
license:
CPOL
Hi Everyone,As a continuation of one of my previous questions...URL belowalphanumeric increment in C[^]Using the above working code, I open a file, use fgets and sscanf to scan the rows. Each row has a number of items, one of which is a value of 6 characters. The code then...
General Programming
»
Uncategorised Quick Answers
»
General
C++
C
How network event FD_WRITE is generated when using Event Driven Sockets.
by
ayesha hassan
Question
9 May 2013
license:
CPOL
I am working on newtwork event based socket application. When client has sent some data and there is something to be read on the socket, FD_READ network event is generated.Now according to my understanding, when server wants to write over the socket, there must be an event generated i.e....
General Programming
»
Uncategorised Quick Answers
»
General
C
Windows
Visual-Studio
Events
programming
Networking
Network
eventhandler
fread() fails after reading complete contents of text file
by
CPallini
Answer
9 May 2013
license:
CPOL
Your while condition is uninfluential (always true). According to the documentation[^]:Return ValueThe total number of elements successfully read is returned.If this number differs from the count parameter, either a reading error occurred or the end-of-file was reached while reading....
General Programming
»
Uncategorised Quick Answers
»
General
C
Windows
Win32
file
Text
fread() fails after reading complete contents of text file
by
ayesha hassan
Question
9 May 2013
license:
CPOL
I have written this code which reads contents of text file into a buffer and sends the buffer over the socket until end of file.The code works fine and after complete file is sent to over the socket, fread() fails, however, according to my undersanding when complete file is sent over the...
General Programming
»
Uncategorised Quick Answers
»
General
C
Windows
Win32
file
Text
Read a text file line by line and save each line in the buffer irrespective of data type.
by
Sergey Alexandrovich Kryukov
Answer
9 May 2013
license:
CPOL
If you get "any other way" to read the lines of the files, they still will be the same lines. It won't solve the problem of the file "format". The question makes no sense.For example, you can use std::istream::getline:http://www.cplusplus.com/reference/istream/istream/getline/[^].—SA
General Programming
»
Uncategorised Quick Answers
»
General
C
Windows
Win32
programming
file
socket
udp
Text
Sockets
line
Read a text file line by line and save each line in the buffer irrespective of data type.
by
ayesha hassan
Question
9 May 2013
license:
CPOL
I want to read one line of the text file, save it to a buffer, send the buffer over a udp socket and then go and read the second line and so on..So far, since I knew the data type of the text to be read from the text file, I had been using fscanf() to read each line from the text file. But...
General Programming
»
Uncategorised Quick Answers
»
General
C
Windows
Win32
programming
file
socket
udp
Text
Sockets
line
Merge Sort in C.Program becomes unresponsive after taking input.please help
by
Radoslav Dimitrov
Answer
9 May 2013
license:
CPOL
Here you are the code of Merge Sort:/* author: Radoslav Dimitrov OMG Grade 6*/#include #include #include using namespace std;int mergeSort(int arr[], int temp[], int lqvo, int dqsno);int merge(int arr[], int temp[], int lqvo, int sreda, int dqsno);int mergeSort(int...
General Programming
»
Uncategorised Quick Answers
»
General
C
MergeSort
Merge Sort in C.Program becomes unresponsive after taking input.please help
by
OriginalGriff
Answer
9 May 2013
license:
CPOL
Exactly how you deal with this depends to a large extent of what system you are using to compile and run this code.Look at your system closely - does it have a debugger? If so, then use it: single step through your program and try to work out why it is looping.If it doesn't, then start...
General Programming
»
Uncategorised Quick Answers
»
General
C
MergeSort
Merge Sort in C.Program becomes unresponsive after taking input.please help
by
Brady Bar
Question
9 May 2013
license:
CPOL
#include#include
General Programming
»
Uncategorised Quick Answers
»
General
C
MergeSort
this is c code for infix to postfix conversion of an expression.No compilation error but becomes unresponsive after taking input.
by
Brady Bar
Answer
9 May 2013
license:
CPOL
#include#include
General Programming
»
Uncategorised Quick Answers
»
General
C
semicolon is put right after if condition plz explain me this code
by
CPallini
Answer
8 May 2013
license:
CPOL
Such code, albeit valid, make no sense.It checks ten times if x is different from y and if the condition is satisfied (actually it is NOT satisfied) does NOTHING (due to the semicolon after the if statement: such a semicolon is the 'empty statement').
General Programming
»
Uncategorised Quick Answers
»
General
C
designib snooker game in turbo c
by
CPallini
Answer
8 May 2013
license:
CPOL
While do you want to use such an obsolete development environment? Let me suggest you a more modern alternative to turbo C, like Visual C++ 2010 Express[^].Anyway, for building a (very) simple game (let's say a 2D one) you need to learn how to draw graphics primitives on the screen (BGI with...
General Programming
»
Uncategorised Quick Answers
»
General
C
semicolon is put right after if condition plz explain me this code
by
Tarun Jaiswal
Question
8 May 2013
license:
CPOL
this is C Language code where the semicolon is put right after if condition plz explain me this code.#includeint main(){ int x = 10, y = 100%90, i; for(i=1; i
General Programming
»
Uncategorised Quick Answers
»
General
C
designib snooker game in turbo c
by
- NA -
Question
8 May 2013
license:
CPOL
sir, i am a beginner of turbo c programming, i want to design a snooker game using turbo C so kindly hekp me.....thank u
General Programming
»
Uncategorised Quick Answers
»
General
C
Google
dynamic allocation limitation
by
dj4400
Answer
8 May 2013
license:
CPOL
Changing a flag in the project properties.Go To Properties-»linker-»system and SetThe Enable Large addresses To Supportaddresses Larger Than 2Gb
General Programming
»
Uncategorised Quick Answers
»
General
C++
C
fopen() opens the text file successfully for sometime and fails after a specific time
by
CPallini
Answer
8 May 2013
license:
CPOL
You didn't bother to close the file, did you?Call fclose(fpSend); when you've done with it (before returning from the WndProc).
General Programming
»
Uncategorised Quick Answers
»
General
C
Windows
Win32
Visual-Studio
file
Errors
Text
ErrorHandling
fopen() opens the text file successfully for sometime and fails after a specific time
by
ayesha hassan
Question
8 May 2013
license:
CPOL
I am trying to send a text file at a socket after every 10ms. The code works fine and keeps on sending the text file over the socket after an interval of 10ms. But after some period of time (like after 3-4 minutes), fopen() fils (though fopen() works fine for some duration) and I get an error...
General Programming
»
Uncategorised Quick Answers
»
General
C
Windows
Win32
Visual-Studio
file
Errors
Text
ErrorHandling
this is c code for infix to postfix conversion of an expression.No compilation error but becomes unresponsive after taking input.
by
nejin1117
Answer
8 May 2013
license:
CPOL
i think set a limit to this loop while((prec(stack[top],Q[i]))>=0) to avoid memory error and use %c to print array character
General Programming
»
Uncategorised Quick Answers
»
General
C
“Debug Assertion Failed. Expression: (_osfile(fh) & fopen)” error and Fatal Error in visual studio 2008
by
ayesha hassan
Question
8 May 2013
license:
CPOL
My following code is compiled successfully and runs perfectly for sometime handling 40 clients but after sometime, it gives an error "Debug Assertiion Failed expression: (_osfile(fh) & fopen)".I searched on internet and found a solution:Project + Properties, Configuration properties,...
General Programming
»
Uncategorised Quick Answers
»
General
C
Windows
Win32
Visual-Studio
programming
Errors
ErrorHandling
Debugging
assertion
Debugger
this is c code for infix to postfix conversion of an expression.No compilation error but becomes unresponsive after taking input.
by
Brady Bar
Question
8 May 2013
license:
CPOL
#include#include
General Programming
»
Uncategorised Quick Answers
»
General
C
C code for Merge Sort.There are no compilation errors but the program becomes unresponsive after taking input.please help
by
Brady Bar
Question
8 May 2013
license:
CPOL
#include#include
General Programming
»
Uncategorised Quick Answers
»
General
C
MergeSort
dynamic allocation limitation
by
Sergey Alexandrovich Kryukov
Answer
8 May 2013
license:
CPOL
The allocation limit is defined by two factors: instruction-set architecture of the processor used (should be supported by the adequate Windows version), and available physical memory. On top of it, the allocation is limited by the current level of memory utilization. Yes, there is a 2GB limit,...
General Programming
»
Uncategorised Quick Answers
»
General
C++
C
dynamic allocation limitation
by
dj4400
Question
8 May 2013
license:
CPOL
Hi,I have a question about dynamic memory allocation.Is there a limitation (except hardware - available RAM) on the amount of memory that can be allocated?can i allocate 1MB in a loop 2000 times resulting in a 2GB of memory allocation?I have a faint memory that says that there...
General Programming
»
Uncategorised Quick Answers
»
General
C++
C
Help in American sign language database
by
thangle0110
Question
8 May 2013
license:
CPOL
Hello everyone! Now i'm doing my graduation's project. It's about the american sign language recognition system. I intend to use the product HMM method. I have already finished the skin segmentation and hand tracking, now i'm going to do the sign recognition. But the biggest problem is that I...
General Programming
»
Uncategorised Quick Answers
»
General
C
I want to make GUI for my C++ code
by
i SoRa
Question
8 May 2013
license:
CPOL
Hello ,, I`m beginner With VS C++ I want to make gui for my C++ source code I have 3 quiestion q1:When I try to linking 2 forms togother errore show as below : Error 1 error C2065: 'Form2' : undeclared identifier c:\users\sara\documents\visual studio...
General Programming
»
Uncategorised Quick Answers
»
General
C++
C
Visual-Studio
Dev
Design
Visual-Studio
VS2010
Application
GUI
Microsoft
Run-Time Check Failure # 2 - Stack around variable 'thread no' was corrupted
by
Jochen Arndt
Answer
8 May 2013
license:
CPOL
The error message indicates stack problems around threadno. And it is really helpful here when looking at the occurences for that variable:char threadno[2];itoa(threadNumber,threadno,10);strcat(threadno,".txt");Did you see the problem? The string can hold only one character plus NULL...
General Programming
»
Uncategorised Quick Answers
»
General
C
Windows
Win32
Visual-Studio
programming
Errors
ErrorHandling
Run-Time Check Failure # 2 - Stack around variable 'thread no' was corrupted
by
ayesha hassan
Question
8 May 2013
license:
CPOL
My following code gives an error "Run-Time Check Failure # 2 - Stack around variable 'thread no' was corrupted." if I add a "break" inside my if statement. I have also hghlighted this "break" inside the code. If I remove thi "break", the error is removed.Can anyone explain me please why does...
General Programming
»
Uncategorised Quick Answers
»
General
C
Windows
Win32
Visual-Studio
programming
Errors
ErrorHandling
Implement a system to reclaim deleted space on Variable Length Records
by
Manfred R. Bihy
Answer
8 May 2013
license:
CPOL
I've done some research for you using my old friend google and that trustworthy dependable guy spat out quite a few suggestions:RECLAIMING SPACE IN FILES[^]Organizing Files for Performance:Reclaiming space in files [^]Reclaiming space in files[^]Regards,— Manfred
General Programming
»
Uncategorised Quick Answers
»
General
C++
C
Page 1 of 201
1
2
3
4
5
6
7
8
9
10
First
·
Prev
·
Next
·
Last
Advertise
|
Privacy
|
Mobile
Web01 | 2.6.130513.1 | Last Updated 14 May 2013
Copyright ©
CodeProject
, 1999-2013
All Rights Reserved.
Terms of Use
Layout:
fixed
|
fluid