364 Topics

Member Avatar for
Member Avatar for doomsday1216

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 …

Member Avatar for WaltP
0
169
Member Avatar for Coldev

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 …

0
59
Member Avatar for VengefulToast

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!! :)

Member Avatar for VengefulToast
0
114
Member Avatar for karmstrong

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 …

Member Avatar for raptr_dflo
0
328
Member Avatar for srinidelite

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 …

Member Avatar for Stefano Mtangoo
0
241
Member Avatar for raseru

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 …

Member Avatar for tiger86
0
292
Member Avatar for musikluver4

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, …

Member Avatar for anilkumar-m
0
268
Member Avatar for elle55

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 …

Member Avatar for 0peth
1
70
Member Avatar for JakeA

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. …

Member Avatar for TPBarnett
0
157
Member Avatar for JuloF26

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 …

Member Avatar for TPBarnett
0
624
Member Avatar for drameshgar1

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 …

Member Avatar for drameshgar1
0
157
Member Avatar for SunnySideUp

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 …

Member Avatar for peter_budo
0
142
Member Avatar for bizcat

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 …

Member Avatar for gerard4143
0
182
Member Avatar for TheHaxx0r1215

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 …

Member Avatar for kanchana Mala
0
241
Member Avatar for Dani

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, …

Member Avatar for jbennet
0
466
Member Avatar for Dani

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.

Member Avatar for Netcode
0
169
Member Avatar for gunbuster363

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 …

Member Avatar for maninaction
0
196
Member Avatar for arj'89

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, …

Member Avatar for arj'89
0
1K
Member Avatar for seanooi

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.

0
78
Member Avatar for Rickay

[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 …

0
128
Member Avatar for Rickay

[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 …

0
126
Member Avatar for Rickay

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!

Member Avatar for Rickay
0
223
Member Avatar for Nfurman

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 …

Member Avatar for gusano79
0
161
Member Avatar for oamsath

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 …

Member Avatar for MoNaLiZaOman
0
191
Member Avatar for fibbo

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 …

0
73
Member Avatar for matthewkeating

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 …

Member Avatar for ~s.o.s~
0
210
Member Avatar for Soulstorm

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 …

Member Avatar for mike_2000_17
0
154
Member Avatar for phoenx

[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; …

0
69
Member Avatar for jordan0420

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 …

0
77
Member Avatar for Rickay

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 …

0
110
Member Avatar for shamsu50

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

Member Avatar for jingda
0
97
Member Avatar for ffej2ffej

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 …

Member Avatar for pseudorandom21
0
131
Member Avatar for hiddepolen

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 …

Member Avatar for Prabakar
0
201
Member Avatar for jordan0420

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 …

Member Avatar for sergent
0
495
Member Avatar for christ_gal12

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 …

Member Avatar for christ_gal12
0
117
Member Avatar for christ_gal12

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; …

Member Avatar for christ_gal12
0
117
Member Avatar for SpyrosMet

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 …

0
99
Member Avatar for bmason

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, …

Member Avatar for Momerath
0
123
Member Avatar for bmason

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, …

Member Avatar for ArtistScope
0
203
Member Avatar for sarge66

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 …

Member Avatar for pseudorandom21
0
936
Member Avatar for Seattle Slim

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 …

Member Avatar for jon.kiparsky
2
392
Member Avatar for javaAddict

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 …

Member Avatar for javaAddict
0
253
Member Avatar for L3gacy

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 …

Member Avatar for L3gacy
0
260
Member Avatar for youLostTheGame

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 …

Member Avatar for youLostTheGame
0
147
Member Avatar for Celtrix

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 ? …

Member Avatar for Celtrix
0
392
Member Avatar for Agnusmaximus

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]

0
88
Member Avatar for shellac85

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> …

Member Avatar for Shankye
0
211
Member Avatar for ironmancpp

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 …

Member Avatar for mtbs1826
0
240
Member Avatar for jeffcogswell

[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 …

Member Avatar for charmmarkin
0
461
Member Avatar for meabed

[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 …

Member Avatar for bangonkali
0
894

The End.