- Strength to Increase Rep
- +3
- Strength to Decrease Rep
- -0
- Upvotes Received
- 3
- Posts with Upvotes
- 3
- Upvoting Members
- 3
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
This snippet converts a CIDR notated IP address to a range of IP addresses in decimal, dotted notation. Eg.: 192.168.1.255/31 => 192.168.1.254 - 192.168.1.255 |
|
Re:
Hi Am doing my project in image procesing(text extraction from image)can u anyone send the codings for extract the text from image |
|
Re:
I need to multiply 2 matrices together using threads to computer each element. Ive been working on it myself but Im stuck at this point and Im getting an error. Here is the code I have. Can someone help in explaining what is wrong here or how to correct it? … |
|
Re:
I'm working on a project tracker/planner program. I have a DataGridView, works properly brings the all the datas from access. Inside, I have project_id project_name ..... start_date and so on. Now what I simply want to do is, for example when I double-click on the project_name I want it to … |
|
Re:
Does anyone know any good websites that offer programming tutorials. Maybe similar to Kahn Academy, with videos and exercises. |
|
Re:
i have an project encrypting an grayscale image in c language. Before encrypting first i want to calculate its header that define it file format, and convert image data into a binary value. i don`t know how to do this please help me? |
|
Re:
I am trying to read in a command-line argument like: >a.out memtest -b 4 -s 1000 And the intended result is to store "4" in the variable represented by -b and store "1000" in the variable represented by -s. I have the following code: [CODE]int main (int argc, char **argv){ … |
|
|
Re:
I have two programs here I cannot seem to get any return value and I have no idea why, everything I'm doing is just like my book says and I cannot get it working. The parts commented out are the other ways I was trying to make this work, somethings … |
Re:
Dear All, Can any one tell me how to convert the IP address from dec to hex decimal. For Ex: 255.102.25.02/32 should look like FF661902 since its 32 bit 255.102.25.02/31 should derive two values FF661902, FF661903 since its 31 bit |
|
Re:
Time to time I see some common mistakes or even make some my self. I figure I would post some of these, with hopes that people will learn from my and others mistakes. [B]1) Why you no work?[/B] [code] int sum = 0; for(int i = 1; i < MAX; … |
|
Re:
Hey hi , i want to read input frm user fm command prompt(Cmd)!!And aslo print it on Cmd. Now if i use [CODE] #include <stdio.h> main() { int c; while ((c=getchar()!=EOF)//get the sinle char putchar(c);//prnt it on cmd } [/CODE] But i dnt knw how to enter EOF as i … |
|
Re:
Hello, First of all let me say i have very little idea about shell scripting and linux ( ubuntu ). I am trying to write a script where i would give it two arguments two dates in a 29/5 30/5 whitin the console and it would return a list or … |
|
Re:
I use ubuntu netbook edition on a Samnsung N150. Used to work fine. * But network manager does not appear at startup anymorw. * Under preferences > I have the following enabled ... nm-applet --sm-enable Because this is ubuntu netbook edition I don't have the standard menu to access > … |
|
Re:
i have written code to move a dot from on end of the lcd screen to the other end. [CODE] /*move dot across the creen with pixel increments of 10*/ for(x=10;x<120;x+=20) { Glcd_Dot(x,y,0); Glcd_Dot(x,y,1); Glcd_Fill(0); delay_ms(100); } [/CODE] i have seen examples in C, but this is on a 128x64 … |
|
Re:
i want to make rot13 encryption this program convert ascii code from a caracter, and work only with uppercase character (65-90) please help me [CODE]#include <stdio.h> #include <stdlib.h> #include <string.h> void rot13(const char *input); int main(void) { char *input; printf("Enter string (max. 255 characters) : "); gets(input); printf("\nConvert result %s … |
|
Hello there! I need a little help with a key detection program, i only need to watch for 1 key just -like the method to start recording with fraps-. I'm trying to use WH_KEYBOARD hook(not the WH_KEYBOARD_LL because i need the program to do stuff while "hooking"). In the dll … |
|
Re:
Reference books says arrays are immutable. [code] int[] myArray = new int[3]; myArray[0] = 1; myArray[1] = 2; myArray[2] = 3; int[] myarray1 = myArray; myarray1[1] = 3; [/code] myarray and myarray1 both are showing result 1 3 3. but I thought myarray1=1 3 3 and myarray=1 2 3. Please … |
|
Re:
Hi all, Im trying to work something out. I have the following:- datagridview 1 column1 column2 1 56 2 76 3 23 4 13 5 24 I want to create another datagridview based on the datagridview 1 but i would like to have a loop that keeps column1 as it … |
|
Re:
hello everyone i'm creating billing application in that i got the two problem while i'm use. 1)when i came in purchase form i can retrive all the supplier's name in the one genral list box list. but i want when i came in textbox for typing the name of supplier … |
|
Hello! [COLOR="Green"]Little unimportant info about me: I think i can program in c# in a quite good way,but I would like to make my programs useful also for people who hasn't got .NET framework installed. So i started to learn c and to rewrite my c# programs in c.[/COLOR] I'm … |
|
|
Re:
Greetings, I have been trying to see all the files in computer, but since accesses of some files are denied my program throws exception. When I show the type of exception with a MessageBox I learnt it is about mscorlib.dll. I can make my program run not throwing exception using … |
Re:
[CODE] private void btThem_Click(object sender, EventArgs e) { for(int i=0;i<dataGridView1.Rows.Count-1;i++) { if(dataGridView1.Rows[i].Cells["Checked"].Value ==true) { cmTheoHocLop.Parameters["@X"].Value = tbMSSV.Text; cmTheoHocLop.Parameters["@Y"].Value = dataGridView1.Rows[i].Cells["MaLop"].Value; sqlConnection1.Open(); cmTheoHocLop.ExecuteNonQuery(); sqlConnection1.Close(); } } } [/CODE] it has a error :Error 3 Operator '==' cannot be applied to operands of type 'object' and 'bool' D:\lvthao\QLHP\QLHP\FrmDKHP.cs 48 20 QLHP Thanks … |
|
Re:
Ayoo errbody, So i have an array full of strings that I need to apply some regular expressions to and then store the results in another array. What would be the best way to do this? |