No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
15 Posted Topics
Hi guys, I am completely new to objective c. I am trying to compile a very basic program of "hello world", but the problem is that gcc compiler can't figure out where my header files are. I wrote on cygwin bash shell: [CODE =c]$ gcc -lobjc hello.m -o hello[/CODE] and …
There is one mistake in code mentioned by Mr. K. In BinaryToDecimal function, sum should be static variable else value will not be retained. You are adding to a garbage value. So I think it should be: int binaryToDecimal( int binaryNumber, int weight ) { int bit; static int sum …
[NSArray arrayWithObjects:] takes id object as argument, so one must initialize individual object with [NSNumber numberWithFloat:] method.
Hi guys, I am writing some query from winforms. I am getting error with the following query: [CODE] string query = "Select [Doctor Name], Day, DateTime, Med_Sur from Doc_Pat_App where (lower([Patient Name])= '" + name + "') and (DateTime >= GetDate()))";[/CODE] I know that there is no mistake till lower() …
Hi guys, I am trying to create a table in SQL Server 2005 through simple query which is as follows: [CODE]create table Appointment { Doc_ID numeric(4,0) references Patient(Pat_ID), Pat_ID numeric(4,0) references Doctor(Doc_ID), _Day day, Date datetime, Consultant_Name varchar(40), primary key(Doc_ID,Pat_ID) };[/CODE] but i am getting the error: Msg 102, Level …
Hi guys, I have to give proposal of my final year project next week. I am interested in game development and very much inspired from games like nfs and counter strike. I know i cannot develop games like them But the thing here is that i dont know any thing …
Hi, I have to submit a project this semester. I need some unique or new project ideas of making website using asp.net tool greatly involving database management. I googled but didnt get attractive ideas. I don't want to built online library management, ebanking or something like these. Can anyone share …
You have mistaken at many places as Mike mentioned. The thing you can do is create array of struct inventory to store all products so that none overwrite other. [CODE] struct inventory {string brand[10]; string name; //no need of array int numofprod; //and so on };[/CODE] and in main() you …
For GUI interface applications, you can use the available tools like MFCs, Winforms in visual c++. Here they don't need to be exported. And built in tools are available there to put images, text and other stuff together.
Users creating account number themselves is not a good approach. you must avoid it. Well you can add following in Customer class: [CODE] private: static int IDs[100]; //to store IDs of employees of type int static int employee_count; //to keep track how many have opened account [/CODE] Using [B]static [/B]keyword, …
i suggest you to add +1 to the integer number before printing it. or u can try using ceil() function in math.h
hi danholding, firstly i want to advice you to use INSERT query to populate 'HOURS' column if you are entering new record otherwise UPDATE. Select query is just used to display the data from a data source.Moreover, you have to use [B]dropdownlist.selecteditem[/B] property in query. You can get help for …
hi, i know i m asking sort of stupid question, but i cant figure out my mistake. in winform c++, i have added two buttons and buttons' properties visible and enable are set to true but at runtime, both are not visible. can someone help me figure out my mistake... …
Hi, Can anybody tell me that how can i open file and write it in winform C++? i have googled alot and searched msdn but could not find appropriate help. I also tried using fstream's objects but they were declared unidentified on winform. what can i just do? what stream …
i think i can help but plz first clear me the Question. u said u want to SORT and CHOOSE middle one. do u want to do: take input first, then sort them in ascending order and then select middle number from what means the sorted ones or the values …
The End.
great_learner