No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
46 Posted Topics
I have an HDC file(that is taken by screen that I want to save it to any image file (prefer Bmp) , the thing is I don't really know the format and any function that I find for saving takes to many function inputs (that must be maximum 2). Any … | |
hey , I'm trying to read a 24 bit bmp file but after reading the first pixel something goes wrong, any ideas? int i; FILE* f = fopen("Sample.bmp", "rb"); unsigned char info[54]; fread(info, sizeof(unsigned char), 54, f); // read the 54-byte header // extract image height and width from header … | |
Hi , I have a small 2d array and I want to check if it exists in a bigger 2d array. I have coded it but I don't know what am I doing wrong cause even if exists it won't detect it. 2 arrays are PI and NPI. PI is … | |
I have a c++ program that is writing in a txt file every second and I want to get that data that is being written by c#. so the c++ is only writing and the c# is reading. with my knowledge txt files can't be accessed from 2 diffrent programs … | |
this might be a simple question so accept my appolegises , I am creating a 2 dimetional pointers to int and I want to release the memory at the end but I think I'm doing It all wrong and all of the memory isn't being relaesed. int **a; a = … | |
I wanted to start learning to scrap data from web and someone told me to use [htmlunit](http://htmlunit.sourceforge.net/gettingStarted.html) if you go the the website the first page is using java to run the htmlunit and there is no example about how to add the htmlunit jar files to javascript and how … | |
I'm just learning jquery , The thing is that how can I make jquery and php contact each other in one single page ? if there is an example I really appreciate it! | |
its maybe a really dummie question but I was wondering is there any way to create a file (like txt) that the program can use its data but the users can't access it ? sql is an option but the data aren't large enough to be used. is there any … | |
Hi , The question is in the topic , the thing is that the sources now availabe in web are old and dont work anymore , I want to connect to a usb port meaning like "Com4" port and send commands a get data from that port , anyone know … | |
There is a big problem , when I go into my website with the url www.xxx.com the cookies go into the www.xxx.com and when I go with xxx.com the cookies place is xxx.com meaning that its diffrent from the first one , how can i set and get the cookies … | |
I have a ajax fucntion that gets a json array from the php , 8 numbers formed like this ["0","0","0","0","0","0","0","1"] , As I get this in a var called data , data[0] and this kind doesen't work , how can I access this numbers ? | |
$link = "http://api.steampowered.com/ISteamUser/GetPlayerSummaries/v0002/?key=90A1173C22358704FA80D2070D9C987C&steamids=76561198081118741" $file = file_get_contents($link); echo $link; echo $file; I have coded this php , when it runs the link and the file are echoed but the link is right (also I know its correct) but the file echo gives nothing , when I go to the link a … | |
I'm working with openid library and one thing has been bodering me. <?php # Logging in with Google accounts requires setting special identity, so this example shows how to do it. require 'openid.php'; try { # Change 'localhost' to your domain name. $openid = new LightOpenID('localhost'); if(!$openid->mode) { if(isset($_GET['login'])) { … | |
Is there any way to send an e-mail in html and not using php in it ? | |
I was writing a data structure but suddenly after a little coding a strange error gives that no operator">>" matches these operends and also no operator"=" matches these operends . its just after if (right==1) in the cin>>a[i] and a[i]= mininfinitive the code : #include <iostream> #include <iomanip> #include <fstream> … | |
Is there any command in c# to make a c++ program run (no need to return a value and ...) ? | |
hello programmers . I have a question not a syntax one but I need it for speed in contests we have a 3x3 array and when we call a number it add to itself and around him +1 but in many casses like [0][1] when we want to add around … | |
Hey guys I just learned how to work with header files but I have a simple error . I suggest you guys dont look at gameboard.cpp because it just runs fine with ubuntu and no errors with it. my problem is when I run the main it gives the eroor … | |
I have a simple question about this code struct a { char key; a *next; }; a = here*; and in the function I check if here is NULL or not if (here->key==NULL) ... and Im sure here is pointing to an a(struct) but it gives access violation . what … | |
I'm new to php and I'm trying to download a webpage text(no need to seperate the data with elements or things like that). Could someone Give a simplized php program (using curl) so I can Get to know it more like the syntax things . for example could someone download … | |
I have a recrusive program -Im new to it!- that gives all the possible ways to make a money to smaller coins for example : we want 10$ the coins are 5$ , 2$ , 1$ we can give 1 5$ , 2 2$ , 1 1$ or only 10 … | |
Im trying to open a txt file to write into it . heres the warning : Warning: fopen(C:\inetpub\wwwroot\testFile.txt): failed to open stream: Permission denied in C:\inetpub\wwwroot\get.php and heres the code $fh = fopen("C:\\inetpub\\wwwroot\\testFile.txt" , 'w'); fwrite($fh, "PHP"); what am I missing ? | |
I want to get some datas from a php file that the data changes every 10 min . With what framework should I do it or is there any book that tells how to do this simpely ? please consider this That Im not familier with php and I want … | |
I am trying to write a function that helps to find a smaller 2D array in another one . I wrote it but the problem is that it always finded the array when it didnt exist . the only thing I want is that to say does it exist or … | |
have a simple question about working with files . when Im reading a txt file like this example Hello how are you. fine thank you. when I read it how can I find out there was an endline or not ? | |
Im new to C# and I only want to know how to set an objects tag to a number for example button a= new button(); a.parent=this; ... a.tag=12; (but it says it must be an object and I dont want to pass an object to it , any int to … | |
Can someone help me with a funtion that find a string in another one ? the example is string a= "hello how arsdddf" , b = arsdd ; I want a funtion that if b exists in a gives me the number that begins with it like it must give … | |
Have a question , if we can compare two arrays for equality like this #include <iostream> using namespace std; int main() { int a[5],b[5]; for (int i=0;i<5;i++) { cin>>a[i]; cin>>b[i]; } if (a==b) cout<<"they are equal"; } as you see isnt there a way like this or a function to … | |
Im training for olaympiad and need a little of your help to know useful functions that You use . one of an important things I need , Is that to take a number base 10 to base 2 for example : 66 (base 10) , 1000010 (base 2) if available … | |
hey guys reading deitel book and have a little problem with the code that I cant understand #include <iostream> using std::cout; using std::endl; #include <iomanip> using std::setw; int main() { // define array sizes const int responseSize = 40; // size of array responses const int frequencySize = 11; // … | |
HI , everyone can you please write a program for me , I have a set with 5 things in it thats line a={1,2,3,4,5} but it could be everything possible and there are subsets like b={1} c{1,2} d{1,2,4,5} but I cant write the progam so if you can write a … | |
Im really new to php so sry for my small answer ? Im reading a book about it and what things this two are ? and what they do ? Numbers_roman::tonumeral($year); and require_once("numbers/roman.php") will be thankfull if a person answers this question | |
I have a simple question about regular expression and Im new to php so sry about my bad questions , what is the meaning of ^ and $ in regular expression and please give examples that if we dont put them it will go wrong . thank you | |
Im so so new to php and sry for my begginer question . <?php $Sal = "HI"; if (preg_match("[a-zA-Z][a-zA-Z]",$Sal)) echo "hi"; ?> this is my code , why doesent the preg_match run and echo "hi"? thank you | |
I want to make a program for yahoomail.com that it would go there and click on the e-mails and go to the e-mail and if availeble click on the links in the e-mail ,If you know the second part the better but if you dont the first one will do … | |
Im making a program that a person comes localy on the program and make a account offlinly , I want that account have something like a premium on that program -offlinly again lol- for something for 24 hours , I want my accounts to be on the sql server , … | |
hello everyone , i want to make a object or class that has all the button properties and also has a integer x and y . what shall i do , if your responding please write the code | |
I am writing a simple data reader to fill a dropdownlist but i have an error that dont know what it means : [CODE]SqlConnection cmd = new SqlConnection(ConfigurationManager.ConnectionStrings["Mysqlcon"].ConnectionString); SqlCommand rmdd = new SqlCommand("Select Distinct Language from Ready Versions", cmd); cmd.Open(); SqlDataReader mrreader = rmdd.ExecuteReader(); if (mrreader.HasRows) { while (mrreader.Read()) { … | |
Hello everyone i am new to c# and i need to know something in graphics . i am writing something like paint but in the bucket part is there any function in graphic to fill a place like paint . | |
Hello everyone , I Want to make a news site , I have a sqlconnection but when i want someting between grid view and details View but its more like Details View , my only problem in details view is that i cant put paging number to say like take … | |
Hello everyone I need to record a sound and save it , i cant find anything on the internet so please could you give me some advice about saving a sound and recording it :icon_biggrin: | |
Hello everyone , i am new to c# so please don't get upset with my question . I'm working with system.Io look here [URL="http://msdn.microsoft.com/en-us/library/system.io.directory.aspx"]http://msdn.microsoft.com/en-us/library/system.io.directory.aspx[/URL] now what does Directory.CreateDirectory(path); means , why when we have a path we create a directory . please make me understand | |
I am new to c# so please don't laugh at me :icon_biggrin: i have a database called database1 in my program , when i create a setup file and lunch it in another computer because the database isn't attached i will get many errors , how can i attach it … | |
hi everyone , i want to edit , delete and update classes in css with c# . what shall i do? | |
Hi everyone , I want all of System.Drawing.Color in one list box but the colors don't have any numbers . what shall I do ? | |
hi i have a big problem with this program . it should work because it works in a CD lesson but now it doesn't . then i tried this program and this doesn't work either . it should do this : in the name box a person should enter a … |
The End.