Category Archives: C++

BigInteger in Java and C++

code:

for c++ this link link or google search is good but i didn’t found any goood solution yet:
http://codeforces.com/blog/entry/16380

java:

Simple addition:

BigInt Sum:

 

 

Hackerearth Min-Max

code:

partially accepted code with vector:

 

C++ Vector push_back()…pop_back()

C++ STL in Bangla

https://tanvir002700.wordpress.com/2016/04/15/c-stl-tricks1/

 

String Refreshing

//Program to assign string and display the same

//specifiying the array string size

Assigning string character by character

//Read a string and display it

//It will not allow string

so we need gets(str)
code:

with gets we can print line with space: Zaki Live

//simple printf

//using puts

//putchar

Program to find length of a given string:

Using string related library function:

//string copy with out library function

//using strcpy library function

Concatenated String:

Using library function:

 

 

C refresh for logic development

Code:

Output:

Details about Pointer