15,883,901 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by ibrahim_ragab (Top 28 by date)
ibrahim_ragab
26-Aug-15 9:02am
View
Reason for my vote of 5 \n Very Good.
ibrahim_ragab
26-Feb-15 20:36pm
View
You can use sql compact 4.0
ibrahim_ragab
26-Feb-15 20:34pm
View
Saving files in database is not a good idea,you can save file path instead,and if all files is related to your data it is preferable to create folder for documents in the same path as database file.
ibrahim_ragab
9-Dec-14 10:51am
View
Reason for my vote of 3 \n not clear
ibrahim_ragab
8-Nov-14 6:58am
View
Thank you for your help,I want to implement choice list such that in LightSwitch.
ibrahim_ragab
8-Oct-14 7:53am
View
Suppose first table entries are{one,two,three}
and second table entries {four,five,six}
you want result to be
{one,two,three,four,five,six} ->table entries=6
OR {one four,two five,three six} ->table entries=3
ibrahim_ragab
8-Oct-14 5:45am
View
are you want to merge two table in database and display result in datagrid?
ibrahim_ragab
18-Jun-13 3:37am
View
Thanks Matthew.
ibrahim_ragab
18-Jun-13 3:36am
View
Thanks
ibrahim_ragab
16-Jun-13 19:45pm
View
if source code is ANSI C , is this mean that this code is cross Platforms?
this code depend on Posix threads in PDF documintation he say
"KHE uses Posix threads to implement solving in parallel (function KheParallelSolve from Section 12.1), so the compiler and linker commands need the -pthread flag. If you don’t have Posix threads, the makefile documents a workaround. The only difference will be that KheParallelSolve will do its solving sequentially rather than in parallel."
ibrahim_ragab
16-Jun-13 19:27pm
View
Deleted
error 1
:khe_general_solve.c(40): fatal error #1035: Can't find include file <sys time.h="">.
------
code block that contain error
<pre lang="c++">#if KHE_TIMING
#include <time.h>
#include <sys time.h="">
#endif</pre>
ibrahim_ragab
16-Jun-13 16:21pm
View
Hint: I can compile code in Linux("ubuntu")
ibrahim_ragab
28-May-13 17:40pm
View
Reason for my vote of 1 \n 0
ibrahim_ragab
25-May-13 2:40am
View
Thanks Sergey Alexandrovich (you know more about low level :)
ibrahim_ragab
24-May-13 23:54pm
View
thanks very much.
last question( please do not get upset)
is code will never changed during runtime?
give me link for how compiler implement generics?
ibrahim_ragab
24-May-13 8:17am
View
+5 Of course.
now another small question:
if we have the following generic extension method
--------
/// Is given array equal sub_array in rage x.
/// <returns>True if items in range equal Values
public static bool RangeEqual<t>(this T[] array, int start, int count, params T[] values)
{
bool result = false;
if (values.Length < array.Length && start < array.Length)
{
result = true;
for (int i = 0; i < values.Length; i++)
{
result &= array[i + start].Equals(values[i]);
if(!result)break;
}
}
return result;
}
--------
no we can call this function as instance function for any array type.
is this feature (generic extension methods) can be provided by native compiled language,or it is only supported in managed code.
ibrahim_ragab
20-May-13 20:09pm
View
Reason for my vote of 4 \n good code but some enhanced wanted
----
case 4:
{
goto case 3;
}
case 5:
{
goto case 3;
}
case 6:
{
goto case 3;
}
case 7:
{
goto case 3;
}
case 8:
{
goto case 3;
}
case 9:
{
goto case 3;
}
--
[instead you can use]
case 4:
case 5:
case 6:
case 7:
case 8:
case 9:
{
goto case 3;
}
ibrahim_ragab
23-Apr-13 16:54pm
View
Thanks, I will post in suggestions
ibrahim_ragab
16-Apr-13 12:16pm
View
Thanks very much Steve44 ,solved
ibrahim_ragab
15-Apr-13 19:22pm
View
//when we have 10 level subgroups
school.SubGroups
.ElementAt(0).SubGroups
.ElementAt(0).SubGroups
.ElementAt(0).SubGroups
.ElementAt(0).SubGroups
.ElementAt(0).SubGroups
.ElementAt(0).SubGroups
.ElementAt(0).SubGroups
.ElementAt(0).SubGroups
.ElementAt(0).SubGroups
.ElementAt(0).SubGroups
.Add(new StudentsGroup("class2"));
//if i implement function AddGroup
school.AddGroup(new StudentsGroup("class2"),0,0,0,0,0,0,0,0,0,0,0);
ibrahim_ragab
15-Apr-13 19:04pm
View
NOT trivial
ibrahim_ragab
4-Apr-13 17:16pm
View
In article
"Type of a variable has to be statically determined at compile time and can never change while the variable is in scope"
ibrahim_ragab
4-Apr-13 17:12pm
View
Thank you very much
It is very good article
ibrahim_ragab
4-Apr-13 16:58pm
View
Thank you,
"The dynamic is a static type."
Microsoft is so funny.
ibrahim_ragab
20-Mar-13 10:45am
View
thanks very much
but how can I use xslt file in C# code?
and how can I generate it for large xml that contain hundred of conversions(edit in visual studio text editor will be hard)
ibrahim_ragab
20-Feb-13 7:19am
View
thank you my brother
ibrahim_ragab
16-Feb-13 5:48am
View
in reverse engineering and de_compilers we need to return it back
ibrahim_ragab
16-Feb-13 4:43am
View
thank you very much
Show More