364 Topics
![]() | |
Hi-- I am new to C++ and am having trouble with this program: The objective is to take input from a file and write it to output, using the '|' character as the delimiter, but displaying it using a comma (ex, if line 1 is "1000|6 1 6 5 3 … | |
Hi everyone I have this project for my programming class and would appreciate it if someone could point me in the right direction. The objective of the lab is to write a C program that will be able to solve a boolean formula and print all the satisfying assignments. This … | |
Sorry for the newbie question, but I was just wondering if it is possible to program in C++ or some language other than Objective-C on iOS devices? If so, what tools could I use? Visual Studio? Thanks!! :) | |
I am having a couple of problems. I think I got the formatting down for the most part. I am having issues in a few calculations and how to iterate through them. Basically I need to take the radius and calculate the circumference and the volume. Once I have the … | |
Hello EveryBody, Today i planned why not myself to do project in php... The idea behind in this is ... to avoid people just like that answering questions in objective type.. like if a person who ans a question who suppose to ans further Q..Who discovered php? a.ramus b.denis c.srini … | |
I know C++ and java. My school focuses on Java but it doesn't seem to be very appropriate for game design. I wouldn't even consider Java if it wasn't for Minecraft. I want to make some nice and small indie games. If they go far great, but I also want … | |
I have been doing java for almost 3 years now, am just starting to learn Objective-C as of this past June. Been writing a few programs on my own and writing programs for the exercises in 2 very cool Cocoa/objective-c books. My question is how do I, coming from Java, … | |
Hi, Does anybody here do any iPhone app development? I have a number of questions regarding this specific area. If you are how is it going? Do you develop for yourself or for others without programming abilities of their own? How long did it take you to gain proficiency in … | |
hi! i am new to objective c programming. i am making a quiz application. i have a home screen which options like: view instructions and start quiz. how can i display another view when i click a button. like, i want to display the instruction screen when i click instructions. … | |
Hi guys! I want to start learning Objective-C and Id like to use c++ streams, problem is that it is causing error on this hello world example: [CODE] #import <iostream> #import <windows.h> int main( int argc, const char *argv[] ) { std::cout<<"Hello World"<<std::endl; Sleep(5000); return 0; } [/CODE] and these … | |
hy! i am designing game in JAVA as my university project, i want to make myself unique by doing something different ---soo i though of making iphone game that runs java...I designed the iphone app, which is just a icon and few other things...when u click nothing happens but i … | |
Hi, I have a couple of questions regarding Mobile Development, are all mobile apps developed using xcode and objective C ? I take it these are zipped up and offered as a download on an app store so to speak at a small cost ? Is it possible to make … | |
Hello! I am fairly new to C, and trying to learn to deal with malloc. The objective for the code, is to allocate memory in order to store a string on the heap. Compiler says "Warning: assignment makes integer from pointer without a cast" "Warning: format '%s' expects type 'char … | |
Alright, I have a members area, area.php, and I used mysql to find the userlevel and display content depending on the userlevel, 1 for user, 2 for admin. I made it, but it displays both the user and admin for 1, and 2. [CODE]<?php // Members Area // session_start(); $usernamee … | |
A thread was started ([url]http://www.daniweb.com/community-center/daniweb-community-feedback/threads/363816[/url]) inquiring about creating an objective-C forum. I am open to this as long as it is indeed a unique language with unique characteristics (and not a subset of C or C++, for example). However, my main hesitation is that creating a forum is, often times, … | |
Soooo ... In response to the thread at [url]http://www.daniweb.com/software-development/objective-c/threads/363937[/url] a new Objective-C forum has just been created within the Software Development category. You may need to empty your browser's cache in order for it to appear in the navigation menu dropdown. | |
Hi all, I have been started to learn game programming for some weeks. I want to make a simple 2d game first, as a start off. but I come across some trouble~they are: I tried C++: allegro : maybe too primitive and old? Irrlicht: 3d rendering concept too complex for … | |
In need some help with this little programming .. I just got 3 errors .. :'( [code=c]#include <stdio.h> int main (void) { char A , B , C , D , E , F; int id1[ ]; float grade[ ]; float marks[ ]; float average; float num1, kk=0; /********* Jami, … | |
How do I authenticate a .aspx page in objective-c? I've googled and viewed countless results to no avail. I found something about NSURLCredentials but nothing helpful. Any pointers would be very much appreciated. | |
[CODE]int realX = winSize.width + (projectile.contentSize.width/2); float ratio = (float) offY / (float) offX; int realY = (realX * ratio) + projectile.position.y; CGPoint realDest = ccp(realX, realY); [_projectiles addObject:projectile]; projectile.tag = 2; [projectile runAction:[CCSequence actions: [CCMoveTo actionWithDuration:realMoveDuration position:realDest], [CCCallFuncN actionWithTarget:self selector:@selector(spriteMoveFinished:)], nil]];[/CODE] In this simple app, I am trying to … | |
[CODE]int realX = winSize.width + (projectile.contentSize.width/2); float ratio = (float) offY / (float) offX; int realY = (realX * ratio) + projectile.position.y; CGPoint realDest = ccp(realX, realY); [_projectiles addObject:projectile]; projectile.tag = 2; [projectile runAction:[CCSequence actions: [CCMoveTo actionWithDuration:realMoveDuration position:realDest], [CCCallFuncN actionWithTarget:self selector:@selector(spriteMoveFinished:)], nil]];[/CODE] In this simple app, I am trying to … | |
I have started dabbling in Objective-C for iOS developing. Is using the C forum of this website appropriate for questions regarding Objective-C? If not, what would the correct forum be? Thanks! | |
Hi guys, I am learning Objective-C and today at night I managed a simple program, an usual one from ordinary exercise. Code: [CODE] #import <Foundation/Foundation.h> int main (int argc, const char * argv[]) { NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init]; NSLog(@"Welcome to multiplication table test"); int rightAnswers; //the sum … | |
Hello Daniweb Community.. I'm currently pursuing Bachelor Degree in Computer Science, and currently brainstorming some ideas for my Graduation Project. My interests include Compiler Theory and Game programming. I've been using XNA for years and some OpenGL. I've came up with an idea that I'm hammering right now for flaws … | |
Sorry for that, probably meaningless, question but I just can learn things better when I can connect it with something. So there is CGFloat, NSInt, NSString and all that stuff and I'm wondering what these prefixes mean - I do expect them to be a sort of abbreviation but I … | |
It has come to my attention that DaniWeb only has a Mobile Development section for programming with Objective C. The problem is that Obj C is a REALLY complex language and I think that it would benefit many people looking to develop Mac Apps / Phone apps or get a … | |
So we were offered a job yesterday, which involved developing a mobile app targeting multiple platforms. They need the code to be as cross-platform as possible, so I think that C++ is the way to go as far as the infrastructure is concerned, and then we write wrappers in other … | |
[CODE] <html> <HEAD> <style type="text/css"> body { background-color: black; color: black } a { font-weight: bold } a:link { background-color: black; color: blue } a:visited { background-color: black; color: blue } a:active { background-color: black; color: blue } a:hover { background-color: white; color: maroon} input { font-family: monospace; font-size: 24px; … | |
I am Currently teaching myself PyObjC through tutorials and then modifying them. Now the time has come to open a second nib (addtv) and i cant for the life of me figure it out. [CODE] @objc.IBAction def open_(self, sender): addtv = AddTvControlleralloc().initWithWindowNibName_('addtv') addtv.showWindow_(self) #addtv.retain() [/CODE] What i am attempting to … | |
Hey people. Been having a problem when trying to use .gif files as images for sprites. When I try to use one, I get an error such as: [CODE]Documents/Code/Cocos2D/Cocos2D/Player.png: No such file or directory[/CODE] But in the code, I am calling for the picture "Player.gif" to be used, as you … | |
hello, ive been looking around for iphone programming book seen some on websites but there once I like seem to have bad review so I to know which book you like and recommend?? would like a book that has: good understanding of objective-c good chapter on maps and augmented reality | |
I have been trying for some years now to learn Xcode in order to create Mac OS and now iPhone apps. I'll spare you readers the misery I've experienced and summarize by saying it hasn't gone well. One of the routes I've attempted is to read Aaron Hillegass' book. To … | |
Hi, I have a piece of code, which gets a string of code from a webpage. It's the HTML source code, from which I want to make an array, in which I can find data the user will input. However, I need to extract all the useful information from the … | |
I've decided to start learning Objective-C after learning python. I am not sure if i should be uding the C forum, Can There be a new Place for objective C? if anything i can start posting resources, pdfs and snippets of code that i find to kickstart a forum? if … | |
please help me with this.. ---how to put that in every level there will be limit in clicking the box..it will be display and will prompt game over when limit has been ended...the easy level will have less click while the difficult one will have more click.. ---and when you … | |
Anyone know how to put timer on this code that the higher the level the lower the time given to solve the puzzle..this will run only in IE browser [CODE] <HEAD> <style> .bigcell { background-color:#aa9966; border:4px solid #aa9966; text-align:center; } .cell { width:40px; height:40px; font-family:Verdana, Arial; font-size:10pt; font-weight:bold; background-color:#996633; color:#ffff33; … | |
Hello there everyone, I have been thinking about developing for iPhone and iPad but I don't own a Mac, so I downloaded an installed JEdit on windows 7 to develop in Objective C. I downloaded a few sample codes and I tried to run them but I don't know how … | |
This is my first foray into the world of programming. I'm doing a practice project for the consulting firm I work for, and my current objective is to make my submission page textboxes insert the user input into specific tables in my database. Later I'll need to retrieve the data, … | |
This is my first foray into the world of programming. I'm doing a practice project for the consulting firm I work for, and my current objective is to make my submission page textboxes insert the user input into specific tables in my database. Later I'll need to retrieve the data, … | |
I'm new to programing and any help would not only be appreciated but would probably help me pass this class. Exercise 1: Implement a Resistor Class Objective: Create a C++ console application that utilizes the core concepts of designing and creating classes, objects, properties and methods. Overview: Create and test … | |
I see some comments about Objective C or Cocoa however their does note seem to be a specific area for such comments. Objective C would be a good listing below the other languages. Any serious OSx iPad or iPhone developers would look here first for information. Since there is more … | |
Hi, I recently decided to learn how to program and distribute applications for iPad. After some research I have some questions. I found similar threads in this forum but none where exactly what I wanted. 1) Do I have to buy a Mac to develop my iPad program? After reviewing … | |
Im doing a code "test" from the c++ book I am currently reading, the objective is to ask for input using a function and output data using a function, while keeping the data in main. I finished it and it works, but I want to make the program not accept … | |
in my C++ class we were given an assignment (as follows) and i only have one last objective with it. the user is given an option to be able to see the entire queue list and i don't know how to get the program to show that. does anyone know … | |
i get an undefined reference to _objc_class_name_greeter error when I compile When I remove the line Greeter * Hi=[[greeter alloc] init]; it compiles and all but one option works any idea what's wrong with that line Also the error is at .data+0xa4 and correction it actually happens during linking ? … | |
Does anyone know how to insert something like this: [URL="http://www.google.com/imgres?imgurl=http://developer.apple.com/library/mac/documentation/DeveloperTools/Conceptual/XcodeWorkspace/art/code_completion_inline3.jpg&imgrefurl=http://developer.apple.com/library/mac/documentation/DeveloperTools/Conceptual/XcodeWorkspace/100-The_Text_Editor/text_editor.html&usg=__tzUerpkyaa1hAhy4AIx5q3ncRqE=&h=288&w=679&sz=48&hl=en&start=0&zoom=1&tbnid=YT_0hr0Qkfu4UM:&tbnh=80&tbnw=189&prev=/images%3Fq%3Dxcode%2Bcompletion%2Bbubble%26um%3D1%26hl%3Den%26client%3Dsafari%26rls%3Den%26biw%3D1190%26bih%3D944%26tbs%3Disch:1&um=1&itbs=1&iact=hc&vpx=493&vpy=109&dur=463&hovh=146&hovw=345&tx=175&ty=56&ei=dAz3TJfiM9GAswaK_t3jDQ&oei=dAz3TJfiM9GAswaK_t3jDQ&esq=1&page=1&ndsp=25&ved=1t:429,r:2,s:0"]http://www.google.com/imgres?imgurl=http://developer.apple.com/library/mac/documentation/DeveloperTools/Conceptual/XcodeWorkspace/art/code_completion_inline3.jpg&imgrefurl=http://developer.apple.com/library/mac/documentation/DeveloperTools/Conceptual/XcodeWorkspace/100-The_Text_Editor/text_editor.html&usg=__tzUerpkyaa1hAhy4AIx5q3ncRqE=&h=288&w=679&sz=48&hl=en&start=0&zoom=1&tbnid=YT_0hr0Qkfu4UM:&tbnh=80&tbnw=189&prev=/images%3Fq%3Dxcode%2Bcompletion%2Bbubble%26um%3D1%26hl%3Den%26client%3Dsafari%26rls%3Den%26biw%3D1190%26bih%3D944%26tbs%3Disch:1&um=1&itbs=1&iact=hc&vpx=493&vpy=109&dur=463&hovh=146&hovw=345&tx=175&ty=56&ei=dAz3TJfiM9GAswaK_t3jDQ&oei=dAz3TJfiM9GAswaK_t3jDQ&esq=1&page=1&ndsp=25&ved=1t:429,r:2,s:0[/URL] | |
Hi guys here is my code, prettty much the same as one posted before but im getting a few errors. Fairly new to this so if someone could help me out i would greatly appreciate it. Thanks in advance:) Here is the code and errors underneath that: #include<stdio.h> #include<string.h> #include<ctype.h> … | |
Hi everyone! I am a class XII student. I have been asked to make a project using c++. I have decided to make a word game. The game's objective is: * show a random jumbled word stored in a file * ask the user to enter any valid words that … | |
[ATTACH=left]17212[/ATTACH]In the past, the word [I]embedded[/I] was limited to specialty devices that a lot of us used, but few programmers really cared about. Embedded devices meant things like the controllers on your microwave oven or the computer that ran your car's fuel injection system. There are certainly a lot of … | |
[edit] This code was originally posted [URL="http://www.programmersheaven.com/dow...3/ZipView.aspx"]here [/URL][/edit] The problem is to find all ways of placing n non-taking queens on a n by n board. A queen attacks all cells in its same row, column, and either diagonal. Therefore, the objective is to place n queens on an n … |
The End.