Skip to content

saravan2/coding-puzzles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

coding-puzzles

g++ -g -o missing missing-integer.cpp

gdb ./missing

b missing-integer.cpp:##

r ./missing

c

s

To view STL containers, include the custom ./gdbinit file present in the working directory Download init file at : https://sourceware.org/gdb/wiki/STLSupport

Place the contents in a .gdbinit file on the present working directory.

gdb -iex "set auto-load safe-path //" ./powerset.exe

Breakpoint 1, recursivePowerSet (iset=..., sofar=..., pos=2) at powerSet.cpp:25

25 stringstream elm;

(gdb) p sofar

$3 = {

static npos = ,

_M_dataplus = {

<std::allocator<char>> = {

  <__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>},
members of std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Alloc_hider:

_M_p = 0x60004b188 "1,2"

}

}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published