Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
3
Posts with Upvotes
3
Upvoting Members
3
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
~10.7K People Reached
About Me

big,crazy,sweet..

Interests
video games ,iOS dev ,mobile app dev
PC Specs
mac osx , 8GB , intel i5
Favorite Tags

37 Posted Topics

Member Avatar for gabby_1

type name ( parameter1, parameter2, ...) { statements } Where: - type is the type of the value returned by the function. - name is the identifier by which the function can be called. - parameters (as many as needed): parametes. [[Click Here](http://www.cplusplus.com/doc/tutorial/functions/)](null)

Member Avatar for Khalil Cooper
0
2K
Member Avatar for surfingturtle

char *p = "Hello" ; // The pointer is mutable . "Hello" is a string literal and as per c++ standard ,you //are not supposed to modify it . Doing so may result in unexpected behavior. *p = 'M' ; // Do not use the pointer to change . p …

Member Avatar for David W
0
271
Member Avatar for iharrythomas

HI Harry, I think it depends on the product that you are marketing. If you don't have a strong customer/ user base then you should go with website . Mobile apps are more convenient for purchasing online these days . You can re-direct the user from website to app. Regards, …

Member Avatar for rproffitt
0
258
Member Avatar for ravi_14

**Bold Text Here**I am trying to make a generic linked list . below is the code for linkedlist . #ifndef GenericLinkedList_h #define GenericLinkedList_h #include <iostream> #include "GenericLinkNode.h" //class GenericLinkedList; template <typename T> class GenericLinkedList { private : GenericLinkNode<T> *head; public: GenericLinkedList(); void traverse(); bool isEmpty() { return head == NULL …

0
178
Member Avatar for ravi_14

Hi All, I am trying to implement generic link list in c++ . But getting below error . Please assist me to correct it. LinkedList.hpp LinkNode<E>* head; errr: unknown tpe name ''LinkNode // LinkNode.hpp // cplus // // Created by Ravi Rathore on 10/12/15. #ifndef LinkNode_hpp #define LinkNode_hpp #include <stdio.h> …

Member Avatar for deceptikon
0
287
Member Avatar for Manish_10

Hi Manish, You have to copy 20141001 from the "data" in a variable. Regards, ravi

Member Avatar for ravi_14
0
316
Member Avatar for ravi_14

let session = NSURLSession.sharedSession() //1 let downloadTask = session.downloadTaskWithURL( url, completionHandler: { [weak self] url, response, error in // 2 // return } ) Please explain the meaning of [weak self] inside closure . what if we dont declare it as [weak self] ? Thanks /

0
201
Member Avatar for Ahmed_62

I hope this will help.Only three steps i have explained . ![New_Doc_1.jpg](/attachments/large/4/44ae8e754191d93f20bfcf64c823824c.jpg "align-center")

Member Avatar for Ahmed_62
0
178
Member Avatar for Cleophas_1

I think you want someone to complete your assingnment. :) // Example program Hint: Use cmath and std::pow(float,float) method. // formula is a=p(1+j/n)n*t /* S = value after t periods P = principal amount (initial investment) j = annual nominal interest rate (not reflecting the compounding) n = number of …

Member Avatar for Cleophas_1
-1
524
Member Avatar for vegaseat

Yes. They have planned to replace objective c with swift . Swift is fast and easy to learn but i find objective c more interesting . :p

Member Avatar for vegaseat
1
395
Member Avatar for ravi_14

#import "Person.h" @class Asset; //i have used import "Asset.h" which contains definition for asset @interface Employee : Person { int employeeID; NSMutableArray *assets; } @property int employeeID; - (void)addAssetsObject:(Asset *)a; - (unsigned int)valueOfAssets; @end I got this snippet from objective c book. In the second line , author has used …

0
243
Member Avatar for ravi_14

assume latgeInt=2147483647 Debug.Log(largeInt); //2147483647 float largeFloat = largeInt; Debug.Log(largeFloat); ///2.147484E+09 int backAgain = (int)largeFloat; Debug.Log(backAgain); //-2147483648 *This part i did not get. I assume there was some data loss when float was explicitly casted into int . But the loss should be in right most digits. How come sign got …

Member Avatar for sandeepjkl
0
210
Member Avatar for ravi_14

the relation betwwen student and course entity is many to many.but it is not recommended .how can we convert it to two one to many relationships?

Member Avatar for hericles
0
144
Member Avatar for ravi_14

**The special rules for inline functions require that they be defined in each file in which they are used.The easiest way to make sure that inline definitions are available to all files in a multifile program is to include the inline definition in the same header file in which the …

Member Avatar for David W
0
209
Member Avatar for ravi_14

**The special rules for inline functions require that they be defined in each file in which they are used.The easiest way to make sure that inline definitions are available to all files in a multifile program is to include the inline definition in the same header file in which the …

Member Avatar for L7Sqr
0
206
Member Avatar for ravi_14

My header file header.h #ifndef HEADER_TEST #define HEADER_TEST static test_variable; #endif now i am including this in two source files IN THE SAME PROJECT. multiple definition error. i have used static specifier in header file . please help me understand this.i think static makes internal linkage. regards, ravi

Member Avatar for Suzie999
0
141
Member Avatar for ravi_14

please help me to understand the output void main() { printf("%x",-1<<4); return ; } -1 is represented as **1111 1111** so in hexadecimal form it should be FFh but compiler displays ffff ffff

Member Avatar for ravi_14
0
118
Member Avatar for ravi_14

i read the following line from programming wiht c by byron s gottfried. **"only external and static array can be initialized"** however when i tried initialising automatic array ,the program works . please explain.

Member Avatar for hericles
0
74
Member Avatar for iblanq
Member Avatar for ravi_14

IplImage *in; CvMemStorage *storage = cvCreateMemStorage (20506); CvSeq *contours=NULL; CvPoint *PointArray=NULL; for() { //image processing and feature extraction code here cvClearMemStorage (storage); //clear memory area free (PointArray); cvReleaseImage (&in); } At the end of each iteration i ma releasing memory but still i get memory shortage error after # processing …

Member Avatar for rubberman
0
334
Member Avatar for ravi_14

i am not able to connect to the sql server on my system. SqlConnection^ connection=gcnew SqlConnection(); connection->ConnectionString ="Data Source=blueboy\sqlexpress;Initial Catalog=DCV_DB;Integrated Security=SSPI;Pooling=False"; i got the string from database properties.(i have attached the same in this post) sql service is running. tcp ports are enables too.

0
114
Member Avatar for ravi_14

i am developing a project in c++ and i need database to save details.i googled but so far have bot come across a good tutorial for c++ database . most of the articles i have found are obsolete. please suggest what are APIs for database in c++?

Member Avatar for Ancient Dragon
0
475
Member Avatar for ravi_14

i found following code to create a two dimensional array at run time if one of the dimension is known.. char (*c)[5]; c=new char[n][5]; first line is pointer to an array of 5 integers but i couldnt undesratnd the second step.

Member Avatar for Ancient Dragon
0
292
Member Avatar for Stefan_2

use temporary variable for moving the items and for binary conversion ,you can easily write code ..

Member Avatar for Stefan_2
0
287
Member Avatar for ravi_14

![6b87dfe9bac7df6c309f7266d28a4ad0](/attachments/small/4/6b87dfe9bac7df6c309f7266d28a4ad0.JPG "align-left") i am reading "pointers in c by naveen toppo" .According to him program crashes when it encounter int y=*ptr; i dont understand why it should crash?i think its correct. *ptr gives int value. please refer attachement.

Member Avatar for Ancient Dragon
0
168
Member Avatar for dennis.ritchie
Member Avatar for Ancient Dragon
0
213
Member Avatar for inspire_all

please refer to following books:- 1. Operating Systems 5th Edition. Author, William Stallings 2. Operating System Concepts 8th Edition Author: Silberschatz Galvin i read last semester and the topics have been explained in very precise manner.

Member Avatar for rubberman
0
231
Member Avatar for ravi_14

i made a project using visual studio and opencv ,it worked fine. however later i thought of adding GUI. i googled and found abput QT.some how i managed to include libraries and build paths,when i use **C fucntions of opencv** the program works fine but when i use ***c++ features …

Member Avatar for Ancient Dragon
0
693
Member Avatar for kumarprashant

i would sugesst you to start from the scratch.do not copy code from the internet. project is a perfect way to build th foundation.

Member Avatar for Bendez Thyna
0
301
Member Avatar for ravi_14

when i try to use undefined object ,i get compiler error but there is no option regarding compiler error.

Member Avatar for deceptikon
0
103
Member Avatar for fatmah

if you are newbie ike me in c++.i would suggest **data structures and algorithms in c++ by adam drozdek** trees are explained with proper methods. http://www.amazon.com/Data-Structures-Algorithms-Adam-Drozdek/dp/0534491820

Member Avatar for ravi_14
0
118
Member Avatar for ravi_14

i was reading a book and came across this line "C++ matches a pointer of any other type with type void * and prints a numeric representation of the address. If you want the address of the string, you have to type cast it to another type," please any one …

Member Avatar for Ancient Dragon
0
188
Member Avatar for ravi_14

vector <int> a; //first vector vector <int> b; //second vector vector <int>::iterator i; //iterator for first vector vector <int>::iterator i1; //iterator for second vector //reading of first vector int temp; while(cin>>temp) { a.push_back(temp); } i=a.begin(); while(i!=a.end()) { cout<<*i<<" "; i++; } //end of reading first vector //reading of second vector …

Member Avatar for Banfa
0
206
Member Avatar for ravi_14

for(i=a.begin();i!=a.end();i++) { cin>>*i; } for(i=a.begin();i!=a.end();i++) { cout<<*i; } above code works fine but when i use while loop to display vector , program crash. while(i!=a.end();) { cout<<*i; i++; }

Member Avatar for Banfa
0
207
Member Avatar for ravi_14

According to Herbert schildt C++ complete reference "A non-static member variable cannot have an initializer." however when i run following code,it runs.. class ABC { public: int a=3; ABC(); }; ABC::ABC() {cout<<a; } int main() { ABC obj; } regards,

Member Avatar for deceptikon
0
191
Member Avatar for sj5536

Go for opencv. You can see documentation on internet. I would suggest "Learning OpenCV Computer Vision with the OpenCV Library" book if you are a beginner. regards, ravi

Member Avatar for ravi_14
0
171
Member Avatar for ravi_14

cout is defined in std namespace and we also include iostream to use cout...i am confused ,please clarify this.where 1)cout is defined 2)where it is declared. and if we are including iostream ,then what is the need of STD::COUT regards,

Member Avatar for vmanes
0
533

The End.