Quantcast
Channel: eHow - C/C++ Programming How To's
Browsing index pages (161 articles)
↧

Image may be NSFW.
Clik here to view.

How to Fill a 2D Matrix in C

2D matrices are data structures that organize data in rows and columns. C uses the I,J subscript notation to access the elements of the matrix. Implementing controlled loops allows the programmer to...

View Article


Image may be NSFW.
Clik here to view.

How to Convert Double to String C++

C++ handles a variety of conversions between number types and strings using the iostream class and the put-to operator "<<." The iostream class has some limitations and doesn't support direct...

View Article


Image may be NSFW.
Clik here to view.

How to Convert Char* to Int & C++

Converting a char* to an int in c++ is a common operation when sorting a char* array or storing numbers in a char* array. A char* is a pointer to a char data type or a string of char data types. Char...

View Article

How to Use C++ to Write a Code to Calculate Factorials With Loops

The factorial of a non negative integer number is product of all numbers less than or equal to n. The exclamation mark "!" denotes the factorial of the number; for example, 4!=1 x 2 x 3 x 4 = 24. The...

View Article

How to Convert a Pointer to a String Value in C++

The C++ programming language features a powerful tool known as a pointer. A pointer stores the value to a location in computer memory. Pointers have a type associated with them that is typically the...

View Article


Image may be NSFW.
Clik here to view.

How to Initialize an ArrayList

In Java, ArrayList is a hybrid data structure that contains data elements as well as predefined functions for the stored data. ArrayList stores data members in sequence and offers functions to get the...

View Article

Image may be NSFW.
Clik here to view.

How to Convert Epoch Time in C++

The time function in the C++ standard library returns seconds elapsed since a specific, standardized date and time known as the epoch. While this value contains all of the information needed to...

View Article

Difference between Vector & List in C++

The C++ Standard Template Library contains two similar yet distinct containers: the vector and the list. A vector is a set of sequentially arranged data that can grow or shrink dynamically; a list is a...

View Article


How to Call a String Array in C++

You can use a string array in the computer programming language C++ when you want to store multiple string values simultaneously. A string object contains a sequence of characters, such as "my string."...

View Article


How to Calculate the Sum of Odd Numbers in C++ Language

C++ is the powerful programming language that has all of the features needed to write comprehensive programs, including object-oriented programming tools. To test if the number is odd or even using the...

View Article

Image may be NSFW.
Clik here to view.

What Does It Mean if an App File Already Exists on an IPad?

When an iPad message says an application file already exists it means that an app tried to overwrite a file in an instance where the app was told not to overwrite files. The file already exists error...

View Article

Image may be NSFW.
Clik here to view.

Why Can't Xcode See My iPhone?

The Xcode integrated development environment comes with a number of tools to make the iOS application development process easier. One of these tools is an iOS simulator that creates an iOS-lookalike...

View Article

Image may be NSFW.
Clik here to view.

How to Update Xcode From Terminals

Apple's Xcode integrated development environment lets developers develop apps using a mixture of code and graphical user interface tools. Unlike most applications on the OS X operating system, Xcode is...

View Article


How to Detect the Blow of the Mic on xCode

Apple's Xcode programming application lets programmers with a knowledge of C and Objective-C programming develop applications for the iOS and OS X platforms. If you are developing an application for an...

View Article

How to Convert and Decode HTML to a String on the iPhone

Type definition changes in XCode and Cocoa let you convert HTML strings imported from a Web page to a string in your iPhone app code. You use the type conversion NSString class to change the HTML...

View Article


How to Hide the Subview on an iPhone

The "UIView" class in the iPhone development SDK lets you hide subviews, which are subscreens of a particular screen you set up in your app. Set the subview's visibility property to hide it from the...

View Article

How to Use Cout and Cin in OpenGL

As part of your OpenGL program, you might want to include a prompt for the user to input something from his keyboard. Use the cout command to tell the user what to enter. The cin command then grabs the...

View Article


Image may be NSFW.
Clik here to view.

How to Make a Sound Button in Xcode

Xcode is the language used for iPhone app development, testing and debugging. The software includes an audio library to define the sound that plays on the iPhone of anyone who buys the custom app you...

View Article

How to Edit SQL on an iPhone

Whether it's user preferences or your own iPhone app data, you must save the changes in the iPhone's SQL database. The iPhone uses a lightweight version of the SQL database software called SQLi. The...

View Article

How to Stream Video in XCode

The Xcode language lets Apple developers create interactive iPhone and iPad apps for users. Some iPhone apps require streaming video, and the Xcode libraries include the code necessary to stream...

View Article
Browsing index pages (161 articles)


Latest Images